We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8952b44 commit 768bc95Copy full SHA for 768bc95
CMakeLists.txt
@@ -129,7 +129,7 @@ ${module}.path = \"$CACHE{RUST_MODULE_DIR}/${module}\"
129
# symlink) in the source directory to allow various IDE tools and such to work. The build we
130
# invoke will override these settings, in case they are out of date. Everything set here
131
# should match the arguments given to the cargo build command below.
132
- file(WRITE ${SAMPLE_CARGO_CONFIG} "
+ file(GENERATE OUTPUT ${SAMPLE_CARGO_CONFIG} CONTENT"
133
# This is a generated sample .cargo/config.toml file from the Zephyr build.
134
# At the time of generation, this represented the settings needed to allow
135
# a `cargo build` command to compile the rust code using the current Zephyr build.
0 commit comments