bump rustc, llvm #348

Merged
sb10q merged 11 commits from srenblad/artiq-zynq:bump_to_llvm13 into master 2024-12-23 10:46:46 +08:00
Contributor

Bumps to 1.56.0-nightly (29ef6cf16 2021-08-31) and LLVM13.

Tested on Kasli-SoC in standalone and master-satellite configs with basic blinky. MonInj tested in master-sat. Analyzer tested on standalone.

Ran HITL tests for standalone, no issues. Performance tests are comparable to before bump.

Bumps to 1.56.0-nightly (29ef6cf16 2021-08-31) and LLVM13. Tested on Kasli-SoC in standalone and master-satellite configs with basic blinky. MonInj tested in master-sat. Analyzer tested on standalone. Ran HITL tests for standalone, no issues. Performance tests are comparable to before bump.
srenblad added 11 commits 2024-12-20 17:44:00 +08:00
sb10q reviewed 2024-12-21 09:30:40 +08:00
@ -59,6 +61,7 @@ impl Write for Cursor<&mut [u8]> {
let data = &mut self.inner[self.pos..];
let len = buf.len().min(data.len());
for i in 0..len {
unsafe { asm!("", options(preserves_flags, nostack, readonly)); }
Owner

I think we can get rid of this hack altogether since memory is copied elsewhere when accessing the DRTIO aux buffers?
But this could be another PR.

I think we can get rid of this hack altogether since memory is copied elsewhere when accessing the DRTIO aux buffers? But this could be another PR.
Owner

Are subkernels tested?

Are subkernels tested?
mwojcik reviewed 2024-12-23 07:09:31 +08:00
@ -21,3 +21,3 @@
log_buffer = { version = "1.2" }
crc = { version = "1.7", default-features = false }
core_io = { version = "0.1", features = ["collections"] }
core_io = { git = "https://git.m-labs.hk/M-Labs/rs-core_io.git", rev = "e9d3edf027", features = ["collections"] }
Owner

What does that patch do?

What does that patch do?
Author
Contributor

core_io is unmaintained and locked to the rustc versions already supported due to how the repo is maintained using scripts and patches from std::io. It is probably the biggest blocker for bumping the rust version, due to also being a dependency of rust-fatfs in zynq-rs.

`core_io` is unmaintained and locked to the rustc versions already supported due to how the repo is maintained using scripts and patches from `std::io`. It is probably the biggest blocker for bumping the rust version, due to also being a dependency of `rust-fatfs` in `zynq-rs`.
sb10q merged commit 8fd8cae9d5 into master 2024-12-23 10:46:46 +08:00
Author
Contributor

Are subkernels tested?

Tested the simple subkernel example from the manual, blinking the satellite LEDs, message passing and preloading.

> Are subkernels tested? Tested the simple subkernel example from the manual, blinking the satellite LEDs, message passing and preloading.
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/artiq-zynq#348
No description provided.