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

chore: update Rust to nightly-2024-01-20 #306

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

hawkw
Copy link
Contributor

@hawkw hawkw commented Jan 21, 2024

This branch updates our Rust toolchain to nightly-2024-01-20. To build
on this nightly, I've removed a no-longer-necessary feature flag, and
updated our mycelium deps to
hawkw/mycelium@1de8ba1, which includes
fixes for a bunch of new warnings added on recent Rust toolchains.

@hawkw hawkw enabled auto-merge (squash) January 21, 2024 20:48
spookyvision added a commit that referenced this pull request Aug 22, 2024
this PR changes the toolchain to use `nightly-2024-07-30` and fixes
`platforms/x86_64` dependencies so it uses root's `Cargo.toml` patch
section for maitake crates.


closes #323 

obsoletes #306

TODO for reviewers (roughly ordered by assumed importance):
- [ ] ensure `target_has_atomic` is the right fix (
a9e59b1 )
- [ ] [warning: transmute used without annotations -->
platforms/allwinner-d1/d1-core/src/drivers/smhc.rs:521:58](https://github.com/tosc-rs/mnemos/blob/update-toolchain/platforms/allwinner-d1/d1-core/src/drivers/smhc.rs#L521)
- [ ] [interior mutable const
lint](https://github.com/tosc-rs/mnemos/blob/80928e4f13d97ac4e21655ff19b82fa0e5fc2e43/source/spitebuf/src/lib.rs#L182)
- [ ] `VAddr::of(&DOUBLE_FAULT_STACK)` ( 1aecece ) - can't use clippy's
suggested `ptr::addr_of!` with pinned mycelium (probably best to create
dedicated issue)
- [ ] warning: struct `GrantWriter` is never constructed:
[platforms/allwinner-d1/d1-core/src/drivers/uart.rs:27:8](https://github.com/tosc-rs/mnemos/blob/80928e4f13d97ac4e21655ff19b82fa0e5fc2e43/platforms/allwinner-d1/d1-core/src/drivers/uart.rs#L28)
- [ ] warning: struct `GrantWriter` is never constructed:
[platforms/esp32c3-buddy/src/drivers/usb_serial.rs:16:8](https://github.com/tosc-rs/mnemos/blob/update-toolchain/platforms/esp32c3-buddy/src/drivers/usb_serial.rs#L16)
- [ ] warning: struct `GrantWriter` is never constructed:
[platforms/esp32c3-buddy/src/drivers/uart.rs:21:8](https://github.com/tosc-rs/mnemos/blob/update-toolchain/platforms/esp32c3-buddy/src/drivers/uart.rs#L21)
- [ ] warning: trait `TryFromBits` is never used:
[platforms/allwinner-d1/d1-core/src/plic.rs:186:7](https://github.com/tosc-rs/mnemos/blob/update-toolchain/platforms/allwinner-d1/d1-core/src/plic.rs#L186)
- [ ] warning: struct `SingleThreadedLinkedListAllocator` is never
constructed:
[source/alloc/src/heap.rs:288:12](https://github.com/tosc-rs/mnemos/blob/update-toolchain/source/alloc/src/heap.rs#L288)

---------

Co-authored-by: Anatol Ulrich <[email protected]>
Co-authored-by: Eliza Weisman <[email protected]>
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