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.
Hi all,
rightly? probably wrongly our current build configuration lets developers opt into using the sanitizers via
bazelrcconfigurations.One of these configurations abuses
--coptto add-fsanitize=addressto 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.