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! fixup! fixup! feat: add esp-idf compilation feature
  • Loading branch information
pulsastrix committed Jun 13, 2024
1 parent 3cc95de commit 5883693
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libcoap-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ fn main() {
let orig_pkg_config = std::env::var_os("PKG_CONFIG_PATH").map(|v| String::from(v.to_str().unwrap()));
let out_dir = env::var_os("OUT_DIR").unwrap();

if cfg!(feature = "esp") {
return
}
//let esp_include_path = embuild::build::CInclArgs::try_from_env("ESP_IDF").unwrap();
//let arg_splitter = regex::Regex::new(r##"(?:[^\\]"[^"]*[^\\]")?(\s)"##).unwrap();
//let apostrophe_remover = regex::Regex::new(r##"^"(?<content>.*)"$"##).unwrap();
Expand Down

0 comments on commit 5883693

Please sign in to comment.