Skip to content

Conversation

parasyte
Copy link
Collaborator

  • This is unfortunate, but the crate must include a copy of the rust-toolchain file since it needs to build ROMs with this version.
  • When updating the toolchain file, both copies need to be kept in sync.
  • Maybe it is worth writing a build script that will ensure they are identical...
    • Sounds challenging! The build script must work when building from the repo and when building in isolation (downloaded from crates.io) It would have to be at least smart enough to figure out which scenario it is building in.
    • I'll defer that until updating the duplicate toolchain file becomes a problem.

- This is unfortunate, but the crate must include a copy of the rust-toolchain file since it needs to build ROMs with this version.
- When updating the toolchain file, both copies need to be kept in sync.
- Maybe it is worth writing a build script that will ensure they are identical...
  - Sounds challenging! The build script must work when building from the repo and when building in isolation (downloaded from crates.io) It would have to be at least smart enough to figure out which scenario it is building in.
  - I'll defer that until updating the duplicate toolchain file becomes a problem.
@parasyte parasyte merged commit 5bfe9e1 into main Jun 16, 2022
@parasyte parasyte deleted the fix/publish-rust-toolchain branch June 16, 2022 13:09
parasyte added a commit that referenced this pull request Jun 21, 2022
- Followup to #51 - no longer need to duplicate the rust-toolchain file
@parasyte parasyte mentioned this pull request Jun 21, 2022
parasyte added a commit that referenced this pull request Jun 21, 2022
* Fixes the issue described in [Duplicate the rust-toolchain file so the crate can be published #51](#51).
* Fixes the bizarre linker error that prevented a proper Rust update in [Update rust-toolchain and dependencies #50](#50).
* Updates all packages to Edition 2021.
* Moves all examples to the `rrt0` repo. Since that code is not intended to be built on a build platform like Linux, macOS, or Windows.
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 this pull request may close these issues.

1 participant