-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade Rust to v1.57.0 and JIT-generate Cargo config file #184
Conversation
4ce8d5b
to
089efe6
Compare
src/DockerRunner.jl
Outdated
@@ -93,9 +93,18 @@ function DockerRunner(workspace_root::String; | |||
push!(workspaces, compiler_wrapper_path => "/opt/bin") | |||
|
|||
# Generate CMake and Meson files | |||
generate_toolchain_files!(platform, envs; toolchains_path=toolchains_path) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Side note, the constructors of the two runners have plenty of duplication 😞
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed by #191
src/DockerRunner.jl
Outdated
cargo_config_file!(cargo_dir) | ||
# Add to the list of mappings a subdirectory of ${CARGO_HOME}, whose content | ||
# will be put in ${CARGO_HOME}. | ||
push!(mappings, cargo_dir => envs["CARGO_HOME"] * "/" * randstring()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to preserve the mappings
argument and create a copy of it, instead of overwriting it? I don't think this argument is super critical though.
4d59185
to
93eb65b
Compare
This will replace the file we currently hard-code in the Rust compiler shard.
2461cd3
to
a1c706e
Compare
e540446
to
3d79f91
Compare
3d79f91
to
1fac6ba
Compare
Alright, tests in JuliaPackaging/BinaryBuilder.jl#1121 are looking great, I'm going ahead and merging this. We may finally have a working Rust toolchain |
This will replace the file we currently hard-code in the Rust compiler shard.
PR to update Rust toolchain build script: JuliaPackaging/Yggdrasil#3992