-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
cargo-show-asm tests: Mark add
as inline(never)
#282351
Conversation
@ofborg build cargo-show-asm.passthru.tests |
@pacak the commit needs to confirm to the commit convention. eg: |
newer rustc automagically marks simple functions as inline, this includes `add` used for tests. Marking it as `inline(never)` makes sure it's always included so tests can find it
Changed it a bit. |
Result of |
Hm, |
that is expected as the change was just in the test and wouldn't trigger a rebuild. |
ah 🤠 sure... |
Description of changes
Newer version of rustc breaks currently included test, this PR should fix it.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)I didn't test it, but I made a similar change in cargo-show-asm repo here: pacak/cargo-show-asm#231
This should fix the failing test that shows up here: #281810
Add a 👍 reaction to pull requests you find important.