/
dieoska
/
ddnet
Обзор
Документация
Войти
/
dieoska
/
ddnet
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/rust-bridge/test/lib.rs
10 строк
426 B
heinrich5991
Add support for Rust code in DDNet
20 окт 2022, 00:46
20 окт 2022, 00:46
dcd76fd
Код
Авторство
О чём код?
//! Helper module to link the C++ code of DDNet for Rust unit tests. //! //! Use the global `run_rust_tests` target from CMakeLists.txt to actually run //! the Rust test; this sets compiles the C++ and sets `DDNET_TEST_LIBRARIES` //! appropriately, e.g. using `cmake --build build --target run_rust_tests`. //! //! To call `cargo doc`, set `DDNET_TEST_NO_LINK=1` so that this crate becomes a //! stub. #![warn(missing_docs)]