Just want to check my work here -- I'm trying to patch the Cargo.toml of https://github.com/dtolnay/cxx so that the additive_build_file_contents section generates a cc_library section with some additional copts in it (specifically, -fPIC), to test a theory about why it cannot build properly with clang.
However, nothing I seem to do seems to affect what ends up getting done. I think that maybe the additive* section is getting added to cargo-bazel-lock before patches are applied or something? Is that possible?
Just want to check my work here -- I'm trying to patch the
Cargo.toml
of https://github.com/dtolnay/cxx so that theadditive_build_file_contents
section generates acc_library
section with some additionalcopts
in it (specifically,-fPIC
), to test a theory about why it cannot build properly with clang.However, nothing I seem to do seems to affect what ends up getting done. I think that maybe the additive* section is getting added to cargo-bazel-lock before patches are applied or something? Is that possible?