Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup!…
Browse files Browse the repository at this point in the history
… fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! feat: add esp-idf compilation feature
  • Loading branch information
pulsastrix committed Jun 13, 2024
1 parent 57ab0c1 commit cf4d949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcoap-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ fn main() {
let apostrophe_remover = regex::Regex::new(r##"^"(?<content>.*)"$"##).unwrap();
let esp_clang_args = arg_splitter.split(
esp_include_path.args.as_str()
).map(|x| apostrophe_remover.replace(x.trim(), "$content")).collect::<Vec<String>>();
).map(|x| apostrophe_remover.replace(x.trim(), "$content").to_string()).collect::<Vec<String>>();
bindgen_builder = bindgen_builder.clang_args(&esp_clang_args).clang_arg("-target").clang_arg("xtensa").clang_arg("-DESP_PLATFORM");
for arg in &esp_clang_args {
println!("cargo:warning={}", arg);
Expand Down

0 comments on commit cf4d949

Please sign in to comment.