Undo current_dir -> CARGO_MANIFEST_DIR move
This commit is contained in:
parent
96d5af36f8
commit
9b10c4be8c
@ -115,8 +115,8 @@ pub fn main() {
|
||||
})
|
||||
.collect();
|
||||
|
||||
let current_dir = PathBuf::from(std::env::var("CARGO_MANIFEST_DIR")
|
||||
.expect("CARGO_MANIFEST_DIR not set"))
|
||||
let current_dir = std::env::current_dir()
|
||||
.expect("CARGO_MANIFEST_DIR not set")
|
||||
.canonicalize()
|
||||
.expect("manifest directory cannot be canonicalized");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user