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

Rust 1.55, cargo rustc --release --verbose --profile dev : error: usage of --profile requires -Z unstable-options #9897

Closed
selassje opened this issue Sep 10, 2021 · 1 comment · Fixed by #9898
Labels
A-cli Area: Command-line interface, option parsing, etc. A-profiles Area: profiles C-bug Category: bug regression-from-stable-to-stable Regression in stable that worked in a previous stable release.

Comments

@selassje
Copy link

Problem

This stopped working on 1.55 :
cargo rustc --release --verbose --profile dev
error: usage of --profile requires -Z unstable-options

Works fine on 1,54

Output of cargo version:
cargo 1.55.0 (32da73a 2021-08-23)
release: 1.55.0
commit-hash: 32da73a
commit-date: 2021-08-23

@ehuss
Copy link
Contributor

ehuss commented Sep 10, 2021

Apologies! I have posted #9898 to fix this. In the meantime, --profile=dev is the default, so one workaround is to not use that option.

@ehuss ehuss added A-cli Area: Command-line interface, option parsing, etc. A-profiles Area: profiles regression-from-stable-to-stable Regression in stable that worked in a previous stable release. labels Sep 10, 2021
@bors bors closed this as completed in d58c646 Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-cli Area: Command-line interface, option parsing, etc. A-profiles Area: profiles C-bug Category: bug regression-from-stable-to-stable Regression in stable that worked in a previous stable release.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants