We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f8a2ea commit cf65b23Copy full SHA for cf65b23
xtask/src/tbuld.rs
@@ -78,11 +78,10 @@ impl Context {
78
}
79
80
if !vm_config_paths.is_empty() {
81
- let value = vm_config_paths
82
- .iter()
83
- .map(|p| format!("{}", p.display()))
84
- .collect::<Vec<_>>()
85
- .join(";");
+ let value = std::env::join_paths(&vm_config_paths)
+ .map_err(|e| anyhow::anyhow!("Failed to join VM config paths: {}", e))?
+ .to_string_lossy()
+ .into_owned();
86
cargo.env.insert("AXVISOR_VM_CONFIGS".to_string(), value);
87
88
0 commit comments