We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcce8c3 commit 5fdd5c2Copy full SHA for 5fdd5c2
tests/compiletest.rs
@@ -9,7 +9,9 @@ fn run_mode(mode: &'static str) {
9
10
config.mode = mode.parse().expect("Invalid mode");
11
config.src_base = PathBuf::from(format!("tests/{}", mode));
12
- config.link_deps(); // Populate config.target_rustcflags with dependencies on the path
+ // Try populating rustflags directly to avoid compiletest-rs #81
13
+ // config.link_deps(); // Populate config.target_rustcflags with dependencies on the path
14
+ config.target_rustcflags = Some("-L target/debug".to_string());
15
config.clean_rmeta(); // If your tests import the parent crate, this helps with E0464
16
17
compiletest::run_tests(&config);
0 commit comments