use env::current_dir in Machine::current_dir (#833)
This commit is contained in:
@@ -120,7 +120,7 @@ pub struct Machine {
|
||||
|
||||
#[inline]
|
||||
fn current_dir() -> PathBuf {
|
||||
PathBuf::from("./").canonicalize().unwrap_or(PathBuf::from("./"))
|
||||
std::env::current_dir().unwrap_or(PathBuf::from("./"))
|
||||
}
|
||||
|
||||
include!(concat!(env!("OUT_DIR"), "/libraries.rs"));
|
||||
|
||||
Reference in New Issue
Block a user