Merge pull request #49 from kolloch/patch-1

Rename the probe rust file to probe.rs
This commit is contained in:
David Tolnay 2019-11-27 14:52:18 -08:00 committed by GitHub
commit 1a7c075a7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ fn main() {
fn compile_probe() -> Option<ExitStatus> {
let rustc = env::var_os("RUSTC")?;
let out_dir = env::var_os("OUT_DIR")?;
let probefile = Path::new(&out_dir).join("lib.rs");
let probefile = Path::new(&out_dir).join("probe.rs");
fs::write(&probefile, PROBE).ok()?;
Command::new(rustc)
.arg("--edition=2018")