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! 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 dddb683 commit f45c2ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libcoap-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ fn main() {
if cfg!(feature = "esp") {
embuild::espidf::sysenv::output();

Check failure on line 49 in libcoap-sys/build.rs

View workflow job for this annotation

GitHub Actions / clippy (libcoap-rs)

[clippy (libcoap-rs)] libcoap-sys/build.rs#L49

error[E0433]: failed to resolve: use of undeclared crate or module `embuild` --> libcoap-sys/build.rs:49:9 | 49 | embuild::espidf::sysenv::output(); | ^^^^^^^ use of undeclared crate or module `embuild`
Raw output
libcoap-sys/build.rs:49:9:e:error[E0433]: failed to resolve: use of undeclared crate or module `embuild`
  --> libcoap-sys/build.rs:49:9
   |
49 |         embuild::espidf::sysenv::output();
   |         ^^^^^^^ use of undeclared crate or module `embuild`


__END__

Check failure on line 49 in libcoap-sys/build.rs

View workflow job for this annotation

GitHub Actions / clippy (libcoap-sys)

[clippy (libcoap-sys)] libcoap-sys/build.rs#L49

error[E0433]: failed to resolve: use of undeclared crate or module `embuild` --> libcoap-sys/build.rs:49:9 | 49 | embuild::espidf::sysenv::output(); | ^^^^^^^ use of undeclared crate or module `embuild`
Raw output
libcoap-sys/build.rs:49:9:e:error[E0433]: failed to resolve: use of undeclared crate or module `embuild`
  --> libcoap-sys/build.rs:49:9
   |
49 |         embuild::espidf::sysenv::output();
   |         ^^^^^^^ use of undeclared crate or module `embuild`


__END__
let esp_idf_path = embuild::espidf::sysenv::idf_path().ok_or("missing IDF path").unwrap();

Check failure on line 50 in libcoap-sys/build.rs

View workflow job for this annotation

GitHub Actions / clippy (libcoap-rs)

[clippy (libcoap-rs)] libcoap-sys/build.rs#L50

error[E0433]: failed to resolve: use of undeclared crate or module `embuild` --> libcoap-sys/build.rs:50:28 | 50 | let esp_idf_path = embuild::espidf::sysenv::idf_path().ok_or("missing IDF path").unwrap(); | ^^^^^^^ use of undeclared crate or module `embuild`
Raw output
libcoap-sys/build.rs:50:28:e:error[E0433]: failed to resolve: use of undeclared crate or module `embuild`
  --> libcoap-sys/build.rs:50:28
   |
50 |         let esp_idf_path = embuild::espidf::sysenv::idf_path().ok_or("missing IDF path").unwrap();
   |                            ^^^^^^^ use of undeclared crate or module `embuild`


__END__

Check failure on line 50 in libcoap-sys/build.rs

View workflow job for this annotation

GitHub Actions / clippy (libcoap-sys)

[clippy (libcoap-sys)] libcoap-sys/build.rs#L50

error[E0433]: failed to resolve: use of undeclared crate or module `embuild` --> libcoap-sys/build.rs:50:28 | 50 | let esp_idf_path = embuild::espidf::sysenv::idf_path().ok_or("missing IDF path").unwrap(); | ^^^^^^^ use of undeclared crate or module `embuild`
Raw output
libcoap-sys/build.rs:50:28:e:error[E0433]: failed to resolve: use of undeclared crate or module `embuild`
  --> libcoap-sys/build.rs:50:28
   |
50 |         let esp_idf_path = embuild::espidf::sysenv::idf_path().ok_or("missing IDF path").unwrap();
   |                            ^^^^^^^ use of undeclared crate or module `embuild`


__END__
println!("cargo:warning={}", &esp_idf_path);
let esp_idf_buildroot = env::var_os("DEP_ESP_IDF_ROOT").unwrap();
let esp_include_path = embuild::espidf::sysenv::cincl_args().ok_or("missing IDF cincl args").unwrap();

Check failure on line 53 in libcoap-sys/build.rs

View workflow job for this annotation

GitHub Actions / clippy (libcoap-rs)

[clippy (libcoap-rs)] libcoap-sys/build.rs#L53

error[E0433]: failed to resolve: use of undeclared crate or module `embuild` --> libcoap-sys/build.rs:53:32 | 53 | let esp_include_path = embuild::espidf::sysenv::cincl_args().ok_or("missing IDF cincl args").unwrap(); | ^^^^^^^ use of undeclared crate or module `embuild`
Raw output
libcoap-sys/build.rs:53:32:e:error[E0433]: failed to resolve: use of undeclared crate or module `embuild`
  --> libcoap-sys/build.rs:53:32
   |
53 |         let esp_include_path = embuild::espidf::sysenv::cincl_args().ok_or("missing IDF cincl args").unwrap();
   |                                ^^^^^^^ use of undeclared crate or module `embuild`


__END__

Check failure on line 53 in libcoap-sys/build.rs

View workflow job for this annotation

GitHub Actions / clippy (libcoap-sys)

[clippy (libcoap-sys)] libcoap-sys/build.rs#L53

error[E0433]: failed to resolve: use of undeclared crate or module `embuild` --> libcoap-sys/build.rs:53:32 | 53 | let esp_include_path = embuild::espidf::sysenv::cincl_args().ok_or("missing IDF cincl args").unwrap(); | ^^^^^^^ use of undeclared crate or module `embuild`
Raw output
libcoap-sys/build.rs:53:32:e:error[E0433]: failed to resolve: use of undeclared crate or module `embuild`
  --> libcoap-sys/build.rs:53:32
   |
53 |         let esp_include_path = embuild::espidf::sysenv::cincl_args().ok_or("missing IDF cincl args").unwrap();
   |                                ^^^^^^^ use of undeclared crate or module `embuild`


__END__

Expand Down

0 comments on commit f45c2ff

Please sign in to comment.