Skip to content

Commit

Permalink
Update docs/markdown/snippets/rust_extra_clang_bindgen_arguments.md
Browse files Browse the repository at this point in the history
Co-authored-by: Eli Schwartz <eschwartz93@gmail.com>
  • Loading branch information
dcbaker and eli-schwartz committed Jun 27, 2023
1 parent d4ed1a1 commit 7ce17e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Because of the way that bindgen proxies arguments to clang the only choice to
add extra arguments currently is to wrap bindgen in a script, since the
arguments must come after a `--`. This is inelagent, and not very portable. Now
arguments must come after a `--`. This is inelegent, and not very portable. Now
a `bindgen_clang_arguments` field may be placed in the machine file for the host
machine, and these arguments will be added to every bindgen call for clang. This
is intended to be useful for things like injecting `--target` arguments.

0 comments on commit 7ce17e9

Please sign in to comment.