Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Cross.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Also bind-mount the host RUSTUP_HOME at its original path inside the
# container. cross mounts the active toolchain at /rust, but the nixpkgs
# rustup linker-wrapper has the toolchain's original absolute path baked in
# (it calls .../bin/gcc-ld-unwrapped/ld.lld via -fuse-ld=lld). Without this
# mount that path doesn't exist inside the container, so linking host-side
# build scripts (e.g. windows_x86_64_gnu) fails with ENOENT / "ld returned 127".
[build.env]
volumes = ["RUSTUP_HOME"]
Loading