Skip to content

Commit e55c0cf

Browse files
use posix separator for container manifest path
1 parent 80cc0f1 commit e55c0cf

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

cmd/soroban-cli/src/commands/contract/build/container.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,12 @@ fn forwarded_build_args(
282282
.strip_prefix(workspace_root)
283283
.map(Path::to_path_buf)
284284
.unwrap_or(abs);
285-
args.push(format!("--manifest-path={}", rel.display()));
285+
let rel_posix = rel
286+
.components()
287+
.map(|c| c.as_os_str().to_string_lossy())
288+
.collect::<Vec<_>>()
289+
.join("/");
290+
args.push(format!("--manifest-path={rel_posix}"));
286291
}
287292
if cmd.profile != "release" {
288293
args.push(format!("--profile={}", cmd.profile));

0 commit comments

Comments
 (0)