We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34a0827 commit 0f66a22Copy full SHA for 0f66a22
stm32cubeprogrammer-sys/justfile
@@ -15,6 +15,12 @@ bindgen_output := if os() == 'windows' {
15
"src/bindings_unix.rs"
16
}
17
18
+target := if os() == 'windows' {
19
+ x86_64-pc-windows-msvc
20
+} else {
21
+ x86_64-unknown-linux-gnu
22
+}
23
+
24
# Generate bindings for the CubeProgrammer API dynamic library
25
generate-bindings:
- bindgen {{source_directory()}}/{{bindgen_header}} --dynamic-loading CubeProgrammer_API --output {{source_directory()}}/{{bindgen_output}} -- -x c++ -target x86_64-pc-windows-msvc
26
+ bindgen {{source_directory()}}/{{bindgen_header}} --dynamic-loading CubeProgrammer_API --output {{source_directory()}}/{{bindgen_output}} -- -x c++ -target {{target}}
0 commit comments