fix: use toolchain declared in rust-toolchain.toml for cross rust-std #1860
No reviewers
Labels
No labels
Abandoned
Blocked
Bug
Changelog
Added
Changelog
Missing
Changelog
None
Cherry-picking
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/E2EE
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Matrix/T&S
Merge
Merge/Manual
Merge/Squash
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
continuwuation/continuwuity!1860
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "Henry-Hiles/continuwuity:quad/fix/cross-rust-std"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This pull request should help with the backport by using the rust-version declared in rust-toolchain.toml for the cross-compilation rust-std.
Pull request checklist:
mainbranch, and the branch is named something other thanmain.myself, if applicable. This includes ensuring code compiles.
WIP: fix: use toolchain declared in rust-toolchain.toml for cross rust-stdto fix: use toolchain declared in rust-toolchain.toml for cross rust-stdWorks on main with both static and dynamic binaries. Testing backport now: https://forgejo.ellis.link/continuwuation/continuwuity/compare/v0.5.10...Henry-Hiles/continuwuity:quad/backport/v0.5.11
@ -10,0 +11,4 @@mkToolchain =target:target.fromToolchainName {name = (lib.importTOML "${inputs.self}/rust-toolchain.toml").toolchain.channel;I feel like this should be equivalent, but oh well. nix things i guess.
This one returns a toolchain as attrset, the other returns a toolchain as derivation. For stable-toolchain it doesn't matter, but it matters for the cross rust-std.
sounds like very nix things