Repository navigation
Conversation
Cargo ignores `[target.*]` `linker` and `rustflags` in `Cargo.toml`, since they are config settings (`.cargo/config.toml`, `--config`), not manifest keys. They also don't need moving to `.cargo/config.toml`, because CI already passes the aarch64 linker with `--config` and release builds don't link with lld.
1 of 13 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cargo ignores
[target.*]linkerandrustflagsinCargo.toml, since they are config settings (.cargo/config.toml,--config), not manifest keys. The[target.*]sections insrc-tauri/Cargo.tomltherefore never took effect, as Cargo's warnings show.The sections also don't need moving to
.cargo/config.toml, because CI already passes the aarch64 linker with--configand release builds don't link with lld (v7.0.1's x86_64 Linux binary has noLinker: LLDin.comment, and its arm64 macOS binary was linked by Apple's ld).