Building from docker container yield "error: cannot find a built-in macro with name contracts_ensures"
#534
-
|
I've created a VS Code project in a dev container (esp32_latest), created, run |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 1 reply
-
|
Here is another one |
Beta Was this translation helpful? Give feedback.
-
|
And it starts with this: |
Beta Was this translation helpful? Give feedback.
-
|
The docker container you are using contains a broken rustc version (@SergioGasquez would you agree?). Until this is fixed, you might want to try installing all prerequisites directly on your machine. These are well described, step-by-step in the |
Beta Was this translation helpful? Give feedback.
-
|
@ivmarkov no the devcontainer is not broken, it takes everything latest and still works. At least on my debian machine, and i think OP was also yesterday in Matrix and also got it to work on a fedora machine. It seams though that for whatever reason it gave him hell on a Mac .. |
Beta Was this translation helpful? Give feedback.
-
|
Here if it helps (within container on mac) |
Beta Was this translation helpful? Give feedback.
-
|
Container on fedora (x64) - rustc seems newer. I guess macos container is incorrectly built as @ivmarkov suggested. |
Beta Was this translation helpful? Give feedback.
-
|
Yes. This is a wrongly built/updated rustc:
|
Beta Was this translation helpful? Give feedback.
-
|
Xtensa Rust 1.87.0.0 was recently marked as |
Beta Was this translation helpful? Give feedback.
-
|
This guy https://github.com/esp-rs/rust-build/? idf-rust.Containerfile ? |
Beta Was this translation helpful? Give feedback.
-
|
Works now fine. |
Beta Was this translation helpful? Give feedback.
Works now fine.