mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
1747ce25ad
This commit adds support to the build system to execute test suites that cannot run natively but can instead run inside of a QEMU emulator. A proof-of-concept builder was added for the `arm-unknown-linux-gnueabihf` target to show off how this might work. In general the architecture is to have a server running inside of the emulator which a local client connects to. The protocol between the server/client supports compiling tests on the host and running them on the target inside the emulator. Closes #33114
34 lines
837 B
TOML
34 lines
837 B
TOML
[workspace]
|
|
members = [
|
|
"bootstrap",
|
|
"rustc",
|
|
"rustc/std_shim",
|
|
"rustc/test_shim",
|
|
"tools/cargotest",
|
|
"tools/compiletest",
|
|
"tools/error_index_generator",
|
|
"tools/linkchecker",
|
|
"tools/rustbook",
|
|
"tools/tidy",
|
|
"tools/build-manifest",
|
|
"tools/qemu-test-client",
|
|
"tools/qemu-test-server",
|
|
]
|
|
|
|
# Curiously, compiletest will segfault if compiled with opt-level=3 on 64-bit
|
|
# MSVC when running the compile-fail test suite when a should-fail test panics.
|
|
# But hey if this is removed and it gets past the bots, sounds good to me.
|
|
[profile.release]
|
|
opt-level = 2
|
|
[profile.bench]
|
|
opt-level = 2
|
|
|
|
# These options are controlled from our rustc wrapper script, so turn them off
|
|
# here and have them controlled elsewhere.
|
|
[profile.dev]
|
|
debug = false
|
|
debug-assertions = false
|
|
[profile.test]
|
|
debug = false
|
|
debug-assertions = false
|