Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 1, 2026

Bumps aarch64-rt from 0.3.1 to 0.4.2.

Release notes

Sourced from aarch64-rt's releases.

0.4.2

Fixes

  • Made enable_mmu unsafe.

0.4.1

Improvements

  • Made set_exception_vector public.
  • Made enable_mmu public.

0.4.0

Breaking changes

  • Added ExceptionHandlers trait and exception_handlers! macro to define exception handlers, rather than relying on global symbols.
  • Added RegisterStateRef parameter to exception handlers to access the saved register state, and removed ELR and SPSR parameters.
  • start_core now takes an FnOnce rather than an fn and an argument. This allows arbitrary context to be captured in the closure.
Changelog

Sourced from aarch64-rt's changelog.

0.4.2

Fixes

  • Made enable_mmu unsafe.

0.4.1 (yanked)

Improvements

  • Made set_exception_vector public.
  • Made enable_mmu public.

0.4.0

Breaking changes

  • Added ExceptionHandlers trait and exception_handlers! macro to define exception handlers, rather than relying on global symbols.
  • Added RegisterStateRef parameter to exception handlers to access the saved register state, and removed ELR and SPSR parameters.
  • start_core now takes an FnOnce rather than an fn and an argument. This allows arbitrary context to be captured in the closure.
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jan 1, 2026
@dependabot dependabot bot requested a review from djmitche as a code owner January 1, 2026 01:02
@dependabot dependabot bot added the rust Pull requests that update Rust code label Jan 1, 2026
@dependabot dependabot bot requested review from mgeisler and qwandor as code owners January 1, 2026 01:02
@gribozavr
Copy link
Collaborator

@qwandor I have pushed a commit to fix the build after this version bump. Could you review it?

dependabot bot and others added 2 commits January 2, 2026 14:55
Bumps [aarch64-rt](https://github.com/google/aarch64-rt) from 0.3.1 to 0.4.2.
- [Release notes](https://github.com/google/aarch64-rt/releases)
- [Changelog](https://github.com/google/aarch64-rt/blob/main/CHANGELOG.md)
- [Commits](google/aarch64-rt@0.3.1...0.4.2)

---
updated-dependencies:
- dependency-name: aarch64-rt
  dependency-version: 0.4.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
The issue:

*   `aarch64-rt` 0.4.0 deprecated reliance on global symbols for exception handling and introduced the `ExceptionHandlers` trait and `exception_handlers!` macro.

*   The `rtc` exercise previously defined exception handlers as `extern "C"` functions with `#[no_mangle]`, which are no longer automatically linked as the vector table by the updated runtime.

The Fix:

*   Defined an empty struct, implemented the `ExceptionHandlers` trait for it, invoked the `exception_handlers!` macro to register the exception handlers.
@qwandor qwandor force-pushed the dependabot/cargo/src/exercises/bare-metal/rtc/aarch64-rt-0.4.2 branch from 6ce7f52 to 78e293a Compare January 2, 2026 14:55
@qwandor qwandor merged commit bb48154 into main Jan 2, 2026
40 checks passed
@qwandor qwandor deleted the dependabot/cargo/src/exercises/bare-metal/rtc/aarch64-rt-0.4.2 branch January 2, 2026 15:13
timClicks pushed a commit to accelerant-dev/comprehensive-rust that referenced this pull request Jan 5, 2026
…al/rtc (google#3004)

Bumps [aarch64-rt](https://github.com/google/aarch64-rt) from 0.3.1 to
0.4.2.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dmitri Gribenko <gribozavr@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants