foundry
Foundry OS: the operating system built on the Rustbelt kernel
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | # Host unit tests for rbsh's parser: `make unit` (or, from the repository # root, `cargo test --manifest-path rust/rbsh/host-tests/Cargo.toml`). # # rbsh itself is a no_std program for x86_64-unknown-none, which cannot run # tests on the build machine. Its parser (../src/parse.rs) makes no system # calls, so this tiny crate compiles that same file for the host and tests it # with the normal `cargo test`. # # The empty [workspace] keeps it out of rust/Cargo.toml's workspace, whose # .cargo/config.toml would otherwise build it for the Rustbelt target. [package] name = "rbsh-host-tests" version = "0.1.0" edition = "2024" publish = false [lib] path = "parse_test.rs" doctest = false [workspace] |