Skip to content
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

build-rust-crate: dontStrip=!release #210843

Merged
merged 1 commit into from Apr 12, 2023
Merged

build-rust-crate: dontStrip=!release #210843

merged 1 commit into from Apr 12, 2023

Conversation

ghost
Copy link

@ghost ghost commented Jan 15, 2023

Description of changes

Without this PR, unlike RUST_LIB_BACKTRACE=1 cargo run you won't get line numbers in backtraces from binaries built with:

nix build -f Cargo.nix --arg release false

This PR fixes that.

Things done
  • Built on platform(s)
    • x86_64-linux
    • powerpc64le-linux
    • aarch64-linux
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

Without this PR, unlike `RUST_LIB_BACKTRACE=1 cargo run` you won't
get line numbers in backtraces from binaries built with:

```
nix build -f Cargo.nix --arg release false
```

This PR fixes that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant