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

add --careful with rustc flags that cargo careful uses #318

Open
0xalpharush opened this issue Dec 8, 2023 · 1 comment
Open

add --careful with rustc flags that cargo careful uses #318

0xalpharush opened this issue Dec 8, 2023 · 1 comment

Comments

@0xalpharush
Copy link

0xalpharush commented Dec 8, 2023

Something like RUSTFLAGS="-Zsanitizer=address -Cdebug-assertions=on -Zextra-const-ub-checks -Zstrict-init-checks" cargo +nightly [...]

cargo-fuzz recently did this rust-fuzz/cargo-fuzz#339. There is a conflict between instrumenting coverage and -Z build-std (rust-lang/wg-cargo-std-aware#63)

@smoelius
Copy link
Collaborator

smoelius commented Dec 9, 2023

I'm a little wary of option creep, but I suppose this is fine.

Want to submit a PR?

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

No branches or pull requests

2 participants