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

Enable use of cargo-fuzz without a separate workspace #357

Merged
merged 1 commit into from
Jan 12, 2024

Commits on Jan 12, 2024

  1. Enable use of cargo-fuzz without a separate workspace

    This addresses #345.
    Currently, `cargo-fuzz` defines an independent workspace
    
    ```
    [workspace]
    members = ["."]
    ```
    
    which introduces some issues like caching setup, separate linting
    configs, etc.
    
    The main reason for this seems to be a custom config for
    `profile.release.debug` which is allowed to be changed only at the
    root Cargo.toml of the workspace. This commit adds a workaround
    for that by supplying `--config profile.release.debug=true`.
    
    If users need to preserve the old behavior they can provide the flag
    `--fuzzing-workspace=true` during `cargo fuzz init`
    kdarkhan committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    2d04dca View commit details
    Browse the repository at this point in the history