Skip to content

Thoughts on how to add --rustopts #86

@GregBowyer

Description

@GregBowyer

Hi all,

rightly? probably wrongly our current build configuration lets developers opt into using the sanitizers via bazelrc configurations.

One of these configurations abuses --copt to add -fsanitize=address to the cflags we compile under, as a result we get asan binaries.

I think I can make this happen with platforms / toolchains in the rust_rules, but it might be good to still think about how and if there is a way to specify flags for rustc in a more adhoc fashion.

Not urgent more a discussion point.

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