Undo current_dir -> CARGO_MANIFEST_DIR move
This commit is contained in:
parent
96d5af36f8
commit
9b10c4be8c
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue