rustbuild: add config.toml option to disable codegen tests
This commit is contained in:
parent
100b309fd1
commit
0efc4bf387
@ -144,6 +144,7 @@ struct Rust {
|
|||||||
rpath: Option<bool>,
|
rpath: Option<bool>,
|
||||||
optimize_tests: Option<bool>,
|
optimize_tests: Option<bool>,
|
||||||
debuginfo_tests: Option<bool>,
|
debuginfo_tests: Option<bool>,
|
||||||
|
codegen_tests: Option<bool>,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// TOML representation of how each build target is configured.
|
/// TOML representation of how each build target is configured.
|
||||||
@ -232,6 +233,7 @@ impl Config {
|
|||||||
set(&mut config.rust_optimize, rust.optimize);
|
set(&mut config.rust_optimize, rust.optimize);
|
||||||
set(&mut config.rust_optimize_tests, rust.optimize_tests);
|
set(&mut config.rust_optimize_tests, rust.optimize_tests);
|
||||||
set(&mut config.rust_debuginfo_tests, rust.debuginfo_tests);
|
set(&mut config.rust_debuginfo_tests, rust.debuginfo_tests);
|
||||||
|
set(&mut config.codegen_tests, rust.codegen_tests);
|
||||||
set(&mut config.rust_rpath, rust.rpath);
|
set(&mut config.rust_rpath, rust.rpath);
|
||||||
set(&mut config.debug_jemalloc, rust.debug_jemalloc);
|
set(&mut config.debug_jemalloc, rust.debug_jemalloc);
|
||||||
set(&mut config.use_jemalloc, rust.use_jemalloc);
|
set(&mut config.use_jemalloc, rust.use_jemalloc);
|
||||||
|
@ -130,6 +130,10 @@
|
|||||||
#optimize-tests = true
|
#optimize-tests = true
|
||||||
#debuginfo-tests = true
|
#debuginfo-tests = true
|
||||||
|
|
||||||
|
# Flag indicating whether codegen tests will be run or not. If you get an error
|
||||||
|
# saying that the FileCheck executable is missing, you may want to disable this.
|
||||||
|
#codegen-tests = true
|
||||||
|
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
# Options for specific targets
|
# Options for specific targets
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user