# 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]