Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…` in bindgen. (#2407) This commit fixes issue #2406 by using the [`link-args`] codegen option of `rustc`: ``` -C link-args=<user_link_flags> ``` where `<user_link_flags>` are the flags from the [`user_link_flags`] field of [`LinkerInput`]. [`user_link_flags`]: https://bazel.build/rules/lib/builtins/LinkerInput#user_link_flags [`LinkerInput`]: https://bazel.build/rules/lib/builtins/LinkerInput [`link-args`]: https://doc.rust-lang.org/rustc/codegen-options/index.html#link-args
- Loading branch information