You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RUST_SCRIPT_BASE_PATH does not report the correct base path when using rust-script's --base-path arg.
script.rs:
#![allow(unused_doc_comments)]println!("{}", std::env::var("RUST_SCRIPT_BASE_PATH").expect("RUST_SCRIPT_BASE_PATH should always be set by rust-script"));
RUST_SCRIPT_BASE_PATH
does not report the correct base path when using rust-script's--base-path
arg.script.rs:
output:
I expected the second run to print the updated base-path:
D:\
The text was updated successfully, but these errors were encountered: