mirror of
https://github.com/eyre-rs/eyre.git
synced 2025-09-30 14:32:13 +00:00
Rename the probe rust file to probe.rs
This would help some people with build problems using [nix](https://nixos.org) or to be more specific `buildRustCrate` (but that's probably not meaningful to you). See https://github.com/kolloch/crate2nix/issues/39 and https://github.com/NixOS/nixpkgs/issues/74071. It is clearly a bug in buildRustCrate but if you could accept this change in the meanwhile...
This commit is contained in:
parent
303e1a08e7
commit
f8c7340ec7
2
build.rs
2
build.rs
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user