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 custom error message for use of --native on unsupported platforms #700

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

zanieb
Copy link
Contributor

@zanieb zanieb commented Oct 15, 2024

e.g.,

❯ cargo run -q -- record --native --pid 123
Collecting stack traces from native extensions (`--native`) is not supported on your platform.

instead of "unrecognized flag"

Closes #646 — attempting to address the confusion here.

@zanieb zanieb force-pushed the zb/better-native-err branch from 57d60d3 to 48c2f3a Compare October 15, 2024 02:40
@benfred benfred merged commit 94fb024 into benfred:master Oct 15, 2024
70 checks passed
@benfred benfred added the enhancement New feature or request label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

--native
2 participants