From 5d16bd5308f0edd9d53b82ff6a961241c7188423 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Thu, 22 Jun 2023 09:56:11 -0700 Subject: modules/rust: Add a keyword argument to pass extra args to the rust compiler This may be necessary to, for example, stop rustc complaining about unused functions --- docs/markdown/snippets/rust_bindegen_extra_args.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 docs/markdown/snippets/rust_bindegen_extra_args.md (limited to 'docs/markdown/snippets') diff --git a/docs/markdown/snippets/rust_bindegen_extra_args.md b/docs/markdown/snippets/rust_bindegen_extra_args.md new file mode 100644 index 0000000..209d0bc --- /dev/null +++ b/docs/markdown/snippets/rust_bindegen_extra_args.md @@ -0,0 +1,3 @@ +## rust.bindgen allows passing extra arguments to rustc + +This may be necessary to pass extra `cfg`s or to change warning levels. -- cgit v1.1