You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: libcoap-sys/build.rs
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ fn main() {
49
49
embuild::espidf::sysenv::output();
50
50
let esp_idf_path = embuild::espidf::sysenv::idf_path().ok_or("missing IDF path").unwrap();
51
51
println!("cargo:warning={}",&esp_idf_path);
52
-
let esp_idf_buildroot = env::var_os("DEP_ESP_IDF_ROOT").unwrap();
52
+
let esp_idf_buildroot = env::var_os("DEP_ESP_IDF_ROOT").unwrap().to_string_lossy();
53
53
let esp_include_path = embuild::espidf::sysenv::cincl_args().ok_or("missing IDF cincl args").unwrap();
54
54
55
55
let arg_splitter = regex::Regex::new(r##"(?:[^\\]"[^"]*[^\\]")?(\s)"##).unwrap();
@@ -63,7 +63,9 @@ fn main() {
63
63
.clang_arg("xtensa")// Will need to be adjusted for RISC-V ESPs, workaround according to https://github.com/esp-rs/esp-idf-sys/blob/7a0747614cdd3a65cf4ac8094bbeebfee980dbb2/build/build.rs#L119
0 commit comments