mirror of https://github.com/lapce/lapce.git
change wasi env vars
This commit is contained in:
parent
6150129f50
commit
a78f8b9989
|
@ -315,8 +315,8 @@ pub fn start_volt(
|
|||
let stderr = Arc::new(RwLock::new(WasiPipe::new()));
|
||||
let wasi = WasiCtxBuilder::new()
|
||||
.inherit_env()?
|
||||
.env("OS", std::env::consts::OS)?
|
||||
.env("ARCH", std::env::consts::ARCH)?
|
||||
.env("VOLT_OS", std::env::consts::OS)?
|
||||
.env("VOLT_ARCH", std::env::consts::ARCH)?
|
||||
.env(
|
||||
"VOLT_URI",
|
||||
Url::from_directory_path(volt_path)
|
||||
|
|
Loading…
Reference in New Issue