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 c8c61a2 commit 3079bb0Copy full SHA for 3079bb0
cc-test/build.rs
@@ -1,6 +1,7 @@
1
+use std::env;
2
+use std::fs;
3
use std::path::{Path, PathBuf};
4
use std::process::Command;
-use std::{env, fs};
5
6
fn main() {
7
// if we are being executed from a `fork_run_action` call (i.e. this is a
cc-test/tests/output.rs
@@ -38,5 +38,7 @@ fn load_output(action: &str) -> (String, String) {
38
let action_dir = PathBuf::from(env!("OUT_DIR")).join(action);
39
let stdout = fs::read_to_string(action_dir.join("stdout")).unwrap();
40
let stderr = fs::read_to_string(action_dir.join("stderr")).unwrap();
41
+ println!("compile stdout: {:?}", action, stdout);
42
+ println!("compile stderr: {:?}", action, stderr);
43
(stdout, stderr)
44
}
0 commit comments