Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mac m1 and target: esp32c3, version: 0.42.3 missing fields "enable_so_linger" #151

Closed
xiaoheng14 opened this issue Oct 25, 2022 · 1 comment

Comments

@xiaoheng14
Copy link

Compiling embedded-svc v0.22.1
Compiling esp-idf-sys v0.31.10
error[E0063]: missing fields enable_so_linger and linger_timeout in initializer of httpd_config
--> /Users/heng/.cargo/git/checkouts/esp-idf-svc-52e1dc525c686275/91b740a/src/http/server.rs:63:14
|
63 | Self(httpd_config_t {
| ^^^^^^^^^^^^^^ missing enable_so_linger and linger_timeout

error[E0063]: missing fields enable_so_linger and linger_timeout in initializer of httpd_config
--> /Users/heng/.cargo/git/checkouts/esp-idf-svc-52e1dc525c686275/91b740a/src/httpd.rs:394:9
|
394 | esp_idf_sys::httpd_config_t {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing enable_so_linger and linger_timeout

For more information about this error, try rustc --explain E0063.
error: could not compile esp-idf-svc due to 2 previous errors

@xiaoheng14
Copy link
Author

setup idf_path env in shell or update .cargo/config.toml set ESP_IDF_VERSION = { value = "v4.4.2" }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant