Skip to content

How to specific startup option? #220

@neko-para

Description

@neko-para

Currently, there seems no way to apply options between bazel and [cmd], only after [cmd] is available (e.g. -- --config debug).

My project has multiple bazelrc file, and I'd use bazel --bazelrc=xxx.bazelrc build //:my_target to build it. Thus refresh_compile_commands doesn't know this and failed to find the proper bazelrc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions