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

Update installation instructions to esp-rs/rust 1.54 #19

Closed
georgik opened this issue Aug 4, 2021 · 2 comments · Fixed by #20
Closed

Update installation instructions to esp-rs/rust 1.54 #19

georgik opened this issue Aug 4, 2021 · 2 comments · Fixed by #20
Assignees

Comments

@georgik
Copy link
Collaborator

georgik commented Aug 4, 2021

Artifacts and build instructions should be updated from 1.53 to 1.54:

  • Linux - x64
  • macOS - x64, M1
  • Windows - x64
  • esp-idf Docker images
  • installation manuals
@georgik
Copy link
Collaborator Author

georgik commented Aug 6, 2021

Binary artifacts for Rust 1.54.0 based on https://github.com/esp-rs/rust are available:

Artifacts 1.54.0 are not available for:

0: failed to copy 'D:\a\idf-rust-build\idf-rust-build\build\tmp\tarball\rustc-dev\x86_64-pc-windows-msvc\image\lib\rustlib\rustc-src\rust\compiler\rustc_codegen_cranelift\crate_patches\0001-compiler-builtins-Disable-128bit-atomic-operations.patch' to 'D:\a\idf-rust-build\idf-rust-build\build\tmp\tarball\rustc-dev\x86_64-pc-windows-msvc\rustc-dev-1.54.0-dev-x86_64-pc-windows-msvc\rustc-dev\lib\rustlib\rustc-src\rust\compiler\rustc_codegen_cranelift\crate_patches\0001-compiler-builtins-Disable-128bit-atomic-operations.patch'

@georgik
Copy link
Collaborator Author

georgik commented Aug 6, 2021

Only several components are required. Changed build system to build just them:

python3 x.py build compiler/rustc src/tools/rustfmt library/std --stage 2
python3 x.py dist src --stage 2

Result dist package is then composed from build/stage2 and build/dist.
Simplified instructions for Windows https://github.com/espressif/rust-esp32-example/blob/feature/rust-1.54.0/docs/rust-on-xtensa-installation-x86_64-pc-windows-msvc.md

@georgik georgik self-assigned this Aug 6, 2021
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

Successfully merging a pull request may close this issue.

1 participant