1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-12-22 06:47:49 +02:00
Commit Graph

1471 Commits

Author SHA1 Message Date
dependabot[bot]
c59d441845 cargo: bump arm-gic from 0.6.1 to 0.7.1 in /src/exercises/bare-metal/rtc in the minor group (#2933)
Bumps the minor group in /src/exercises/bare-metal/rtc with 1 update:
arm-gic.

Updates `arm-gic` from 0.6.1 to 0.7.1

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrew Walbran <qwandor@google.com>
2025-10-06 10:13:22 +00:00
dependabot[bot]
7b022bb4e9 cargo: bump the patch group with 10 updates (#2940)
Bumps the patch group with 10 updates:

| Package | From | To |
| --- | --- | --- |
| [anyhow](https://github.com/dtolnay/anyhow) | `1.0.99` | `1.0.100` |
| [clap](https://github.com/clap-rs/clap) | `4.5.47` | `4.5.48` |
| [regex](https://github.com/rust-lang/regex) | `1.11.2` | `1.11.3` |
| [serde](https://github.com/serde-rs/serde) | `1.0.219` | `1.0.228` |
| [serde_json](https://github.com/serde-rs/json) | `1.0.143` | `1.0.145`
|
| [zerocopy](https://github.com/google/zerocopy) | `0.8.26` | `0.8.27` |
| [tokio-websockets](https://github.com/Gelbpunkt/tokio-websockets) |
`0.12.1` | `0.12.3` |
| [thiserror](https://github.com/dtolnay/thiserror) | `2.0.16` |
`2.0.17` |
| [cxx](https://github.com/dtolnay/cxx) | `1.0.175` | `1.0.180` |
| [cxx-build](https://github.com/dtolnay/cxx) | `1.0.175` | `1.0.186` |

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-06 09:51:38 +00:00
Dmitri Gribenko
00e3e194ae feat(docs): Update and apply kbd tag style guide (#2930)
- Based on feed back from @mgeisler, update the kbd tag guidance in
GEMINI.md to require wrapping each key in its own tag (e.g.,
`<kbd>Ctrl</kbd> + <kbd>S</kbd>`).
- Apply this new convention to existing content in the `src` directory
to ensure consistency.
2025-09-27 11:13:03 +02:00
Nicole L
b183ee2f56 Simplify type cast and remove error handling in protobuf exercise (#2755)
Co-authored-by: Dustin J. Mitchell <dustin@v.igoro.us>
2025-09-22 09:58:18 -07:00
Martin Geisler
1e3be175fa Introduce a cargo clippy run (#2025)
This might help catch stylistic problems in our Rust code.

Related to #2587.
2025-09-20 11:38:54 +00:00
Nicole L
8b4849854a Add a speaker note about mut function args (#2910) 2025-09-18 17:25:47 -07:00
Nicole L
9e32680064 Improve speaker notes and exercise in tuples and arrays section (#2909) 2025-09-18 17:23:32 -07:00
Nicole L
3eae5be59e Remove macro hygiene from hello world slide (#2908) 2025-09-18 17:22:15 -07:00
Martin Geisler
b222e4fa34 Add links to glossary entries (#2906)
This is again done with Gemini, though I double checked most of the
entries.
2025-09-18 22:02:06 +00:00
Martin Geisler
19116d263f Add speaker notes to Fibonacci exercise (#2898)
The speaker notes should prompt a deeper discussion around the
exercise by calling out the non-obvious integer overflow pitfall and
encourage instructors to explore alternative implementations with
students, moving beyond a surface-level recursive solution.
2025-09-18 23:09:32 +02:00
Martin Geisler
6ab9858cbe Add speaker notes to instructor-focused slides (#2899)
Following the style guide, these notes provide additional context for
instructors and self-learners. The notes focus on practical tips for
running the course and highlighting key information for students.
2025-09-18 23:08:56 +02:00
Martin Geisler
766d8df9be Add The Little Book of Rust Macros (#2911)
I found this recently when reading about hygiene in Rust macros and
really liked it.
2025-09-18 12:04:35 -07:00
Martin Geisler
f7cbb63305 Remove unnecessary and duplicate paragraph (#2913)
This doesn't belong in a slide, and we already say the same thing at the
top of the slide.
2025-09-18 12:04:07 -07:00
Martin Geisler
81ad6772d1 Fix the use of minutes frontmatter (#2903)
This file was inconsistent with the other files in our course.

I don’t actually know if both work, but if not, we should consider
erroring out to ensure consistency going forward.
2025-09-18 12:03:40 -07:00
Martin Geisler
2955c03231 Consistently use **Note:** instead of **Note**: (#2902)
I think the former is slightly nicer: I see `:` as belonging to the
poor-mans heading we create with the bold text.
2025-09-18 18:14:25 +02:00
Glen De Cauwsemaecker
63e50a8058 add typestate pattern chapter for idiomatic rust (#2821) 2025-09-17 09:09:37 +02:00
Martin Geisler
1a5d9949ad Fix blocks-and-scopes.md after code review (#2901)
Thanks to @fw-immunant and @qwandor for the comments in #2887.
2025-09-11 10:36:45 +01:00
Martin Geisler
30710e4a78 Fix spelling of UTF-8 and UTF-16 (#2900)
This should always be written with a hyphen in running text.
2025-09-09 17:42:23 -04:00
David E Worth
93c5f28b92 fix(docs): remove stray/trailing s> (#2897)
It looks like changes from the last commit (`085b534`) to the
`<details>...</details>` block had a stray `s>` included.
2025-09-07 19:35:08 +00:00
Martin Geisler
085b534735 docs: improve language in tuples-and-arrays section (#2875)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result and I hope it's useful!

As a non-native speaker, it is hard for me to evaluate the finer
details, so let me know if you would like to see changes (or even
better: make them directly in the PR with the suggestion function).

---------

Co-authored-by: Dmitri Gribenko <gribozavr@gmail.com>
2025-09-06 18:53:55 +00:00
Martin Geisler
a37ef402a9 docs: improve language in chromium section (#2889)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result and I hope it's useful!

As a non-native speaker, it is hard for me to evaluate the finer
details, so let me know if you would like to see changes (or even
better: make them directly in the PR with the suggestion function).

---------

Co-authored-by: Dmitri Gribenko <gribozavr@gmail.com>
2025-09-06 18:53:23 +00:00
Martin Geisler
d7dc934891 docs: improve language in bare-metal section (#2891)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result and I hope it's useful!

As a non-native speaker, it is hard for me to evaluate the finer
details, so let me know if you would like to see changes (or even
better: make them directly in the PR with the suggestion function).

---------

Co-authored-by: Dmitri Gribenko <gribozavr@gmail.com>
2025-09-06 20:43:01 +02:00
Martin Geisler
16c960d690 docs: improve language in borrowing section (#2893)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result and I hope it's useful!

As a non-native speaker, it is hard for me to evaluate the finer
details, so let me know if you would like to see changes (or even
better: make them directly in the PR with the suggestion function).

---------

Co-authored-by: Dmitri Gribenko <gribozavr@gmail.com>
2025-09-06 20:41:17 +02:00
Martin Geisler
8fc529de84 docs: improve language in references section (#2878)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result and I hope it's useful!

As a non-native speaker, it is hard for me to evaluate the finer
details, so let me know if you would like to see changes (or even
better: make them directly in the PR with the suggestion function).

---------

Co-authored-by: Dmitri Gribenko <gribozavr@gmail.com>
2025-09-06 17:12:21 +00:00
Martin Geisler
7ebca876d2 docs: improve language in pattern-matching section (#2879)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result and I hope it's useful!

As a non-native speaker, it is hard for me to evaluate the finer
details, so let me know if you would like to see changes (or even
better: make them directly in the PR with the suggestion function).

---------

Co-authored-by: Dmitri Gribenko <gribozavr@gmail.com>
2025-09-06 17:11:58 +00:00
Martin Geisler
2679581811 docs: improve language in std-traits section (#2872)
Co-authored-by: Dmitri Gribenko <gribozavr@gmail.com>
2025-09-06 17:09:29 +00:00
Martin Geisler
27a5836a94 docs: improve language in Android section (#2890)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result and I hope it's useful!

As a non-native speaker, it is hard for me to evaluate the finer
details, so let me know if you would like to see changes (or even
better: make them directly in the PR with the suggestion function).

---------

Co-authored-by: Dmitri Gribenko <gribozavr@gmail.com>
2025-09-06 17:05:14 +00:00
Martin Geisler
56a3b7c6d9 docs: improve language in root files (#2894)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result and I hope it's useful!

As a non-native speaker, it is hard for me to evaluate the finer
details, so let me know if you would like to see changes (or even
better: make them directly in the PR with the suggestion function).
2025-09-06 19:02:15 +02:00
Martin Geisler
9b4f56167e docs: improve language in cargo section (#2892)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result and I hope it's useful!

As a non-native speaker, it is hard for me to evaluate the finer
details, so let me know if you would like to see changes (or even
better: make them directly in the PR with the suggestion function).
2025-09-06 18:59:44 +02:00
Martin Geisler
3fb6b7e164 docs: improve language in types-and-values section (#2874)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result and I hope it's useful!

As a non-native speaker, it is hard for me to evaluate the finer
details, so let me know if you would like to see changes (or even
better: make them directly in the PR with the suggestion function).

---------

Co-authored-by: Dmitri Gribenko <gribozavr@gmail.com>
2025-09-06 16:57:33 +00:00
Martin Geisler
969668a552 docs: improve language in std-types section (#2876)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result and I hope it's useful!

As a non-native speaker, it is hard for me to evaluate the finer
details, so let me know if you would like to see changes (or even
better: make them directly in the PR with the suggestion function).

---------

Co-authored-by: Dmitri Gribenko <gribozavr@gmail.com>
2025-09-06 16:55:15 +00:00
Martin Geisler
afcc3a47c0 docs: improve language in error-handling section (#2886)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result and I hope it's useful!

As a non-native speaker, it is hard for me to evaluate the finer
details, so let me know if you would like to see changes (or even
better: make them directly in the PR with the suggestion function).
2025-09-06 16:51:21 +00:00
Martin Geisler
041fa6b9c2 docs: improve language in control-flow-basics section (#2887)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result and I hope it's useful!

As a non-native speaker, it is hard for me to evaluate the finer
details, so let me know if you would like to see changes (or even
better: make them directly in the PR with the suggestion function).

---------

Co-authored-by: Dmitri Gribenko <gribozavr@gmail.com>
2025-09-06 16:49:57 +00:00
Martin Geisler
513c450e7c docs: improve language in closures section (#2888)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result and I hope it's useful!

As a non-native speaker, it is hard for me to evaluate the finer
details, so let me know if you would like to see changes (or even
better: make them directly in the PR with the suggestion function).
2025-09-06 18:41:25 +02:00
Martin Geisler
93de441a6d docs: improve language in generics section (#2884)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result and I hope it's useful!

As a non-native speaker, it is hard for me to evaluate the finer
details, so let me know if you would like to see changes (or even
better: make them directly in the PR with the suggestion function).
2025-09-06 16:18:45 +00:00
Martin Geisler
6043672c2f docs: improve language in user-defined-types section (#2873)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result.

As a non-native speaker, it is hard for me to evaluate the finer details
of this, so let me know if you would like to see changes (or even
better:
make them directly in the PR with the suggestion function).
2025-09-06 17:41:30 +02:00
Martin Geisler
f72d5ce585 docs: improve language in methods-and-traits section (#2881)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result and I hope it's useful!

As a non-native speaker, it is hard for me to evaluate the finer
details, so let me know if you would like to see changes (or even
better: make them directly in the PR with the suggestion function).

---------

Co-authored-by: Dmitri Gribenko <gribozavr@gmail.com>
2025-09-06 17:20:10 +02:00
Martin Geisler
118bf78365 docs: improve language in running-the-course section (#2877)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result and I hope it's useful!

As a non-native speaker, it is hard for me to evaluate the finer
details, so let me know if you would like to see changes (or even
better: make them directly in the PR with the suggestion function).
2025-09-06 17:19:35 +02:00
Martin Geisler
3f479b920b docs: improve language in modules section (#2880)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result and I hope it's useful!

As a non-native speaker, it is hard for me to evaluate the finer
details, so let me know if you would like to see changes (or even
better: make them directly in the PR with the suggestion function).
2025-09-06 17:08:26 +02:00
Martin Geisler
b7aea9ce22 docs: improve language in memory-management section (#2882)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result and I hope it's useful!

As a non-native speaker, it is hard for me to evaluate the finer
details, so let me know if you would like to see changes (or even
better: make them directly in the PR with the suggestion function).
2025-09-06 17:05:45 +02:00
Martin Geisler
79324df571 docs: improve language in hello-world section (#2883)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result and I hope it's useful!

As a non-native speaker, it is hard for me to evaluate the finer
details, so let me know if you would like to see changes (or even
better: make them directly in the PR with the suggestion function).
2025-09-06 17:04:50 +02:00
dependabot[bot]
7339c04b9c cargo: bump the patch group with 8 updates (#2862)
Bumps the patch group with 8 updates:

| Package | From | To |
| --- | --- | --- |
| [anyhow](https://github.com/dtolnay/anyhow) | `1.0.98` | `1.0.99` |
| [clap](https://github.com/clap-rs/clap) | `4.5.42` | `4.5.46` |
| [regex](https://github.com/rust-lang/regex) | `1.11.1` | `1.11.2` |
| [serde_json](https://github.com/serde-rs/json) | `1.0.142` | `1.0.143`
|
| [tokio](https://github.com/tokio-rs/tokio) | `1.47.0` | `1.47.1` |
| [tokio-websockets](https://github.com/Gelbpunkt/tokio-websockets) |
`0.12.0` | `0.12.1` |
| [reqwest](https://github.com/seanmonstar/reqwest) | `0.12.22` |
`0.12.23` |
| [thiserror](https://github.com/dtolnay/thiserror) | `2.0.12` |
`2.0.16` |

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-01 13:05:20 +01:00
dependabot[bot]
6252183538 cargo: bump the minor group with 2 updates (#2861)
Bumps the minor group with 2 updates:
[scraper](https://github.com/causal-agent/scraper) and
[tempfile](https://github.com/Stebalien/tempfile).

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-01 10:24:31 +01:00
dependabot[bot]
59d698c579 cargo: bump the patch group in /src/bare-metal/aps/examples with 2 updates (#2860)
Bumps the patch group in /src/bare-metal/aps/examples with 2 updates:
arm-pl011-uart and [bitflags](https://github.com/bitflags/bitflags).

Updates `arm-pl011-uart` from 0.3.1 to 0.3.2

Updates `bitflags` from 2.9.1 to 2.9.3

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-01 10:23:50 +01:00
dependabot[bot]
5a310d840e cargo: bump the patch group in /src/exercises/bare-metal/rtc with 3 updates (#2859)
Bumps the patch group in /src/exercises/bare-metal/rtc with 3 updates:
arm-gic, arm-pl011-uart and
[bitflags](https://github.com/bitflags/bitflags).

Updates `arm-gic` from 0.6.0 to 0.6.1

Updates `arm-pl011-uart` from 0.3.1 to 0.3.2

Updates `bitflags` from 2.9.1 to 2.9.3

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-01 10:23:09 +01:00
Nicole L
9620f8967f Move closures section to beginning of day 2 afternoon (#2854) 2025-08-22 14:03:08 -07:00
Dustin J. Mitchell
144fe6b971 Add speaker note regarding passing slices instead (#2851)
This section covers both references and slices, but the exercise focuses
on references. This speaker note briefly discusses the option to use
slices instead, and a cost of doing so.
2025-08-20 11:13:37 +02:00
dependabot[bot]
7fbaa23a2e cargo: bump the minor group in /src/exercises/bare-metal/rtc with 2 updates (#2835)
Bumps the minor group in /src/exercises/bare-metal/rtc with 2 updates:
[aarch64-paging](https://github.com/google/aarch64-paging) and
[arm-gic](https://github.com/google/arm-gic).

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrew Walbran <qwandor@google.com>
2025-08-06 17:24:36 +00:00
dependabot[bot]
bb1f5646f9 cargo: bump aarch64-paging from 0.9.1 to 0.10.0 in /src/bare-metal/aps/examples in the minor group (#2834)
Bumps the minor group in /src/bare-metal/aps/examples with 1 update:
[aarch64-paging](https://github.com/google/aarch64-paging).

Updates `aarch64-paging` from 0.9.1 to 0.10.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/google/aarch64-paging/releases">aarch64-paging's
releases</a>.</em></p>
<blockquote>
<h2>0.10.0</h2>
<h2>New features</h2>
<ul>
<li>Added <code>Attributes::GP</code> bit for BTI guarded pages.</li>
</ul>
<h2>Breaking changes</h2>
<ul>
<li><code>zerocopy</code> feature has been removed.
<code>PageTable::write_to</code> is provided instead.</li>
<li><code>IdMap::activate</code> now returns the previous TTBR value
rather than storing it, and
<code>IdMap::deactivate</code> takes the TTBR value to restore as a
parameter. <code>IdMap::mark_active</code> no longer
takes a previous TTBR value parameter. The same applies to the
equivalent methods on <code>LinearMap</code>.</li>
<li>Renamed <code>Mapping::activate_raw</code> to <code>activate</code>,
and added previous TTBR value parameter to
<code>Mapping::deactivate</code>.</li>
<li>A page table may be activated multiple times (e.g. on multiple
cores) and will keep track of how
many times it has been activated. It will only be considered inactive
once it has been deactivated
the same number of times.</li>
<li><code>MapError::PteUpdateFault</code> now contains a
<code>usize</code> rather than a <code>Descriptor</code>.</li>
<li><code>Descriptor</code> no longer implements <code>Copy</code>,
<code>Clone</code>, <code>Default</code>, <code>PartialEq</code> or
<code>Eq</code>, as it now
contains an <code>AtomicUsize</code> rather than just a
<code>usize</code>. Various methods on <code>Descriptor</code> now take
<code>&amp;self</code> rather than <code>self</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/google/aarch64-paging/blob/main/CHANGELOG.md">aarch64-paging's
changelog</a>.</em></p>
<blockquote>
<h2>0.10.0</h2>
<h3>New features</h3>
<ul>
<li>Added <code>Attributes::GP</code> bit for BTI guarded pages.</li>
</ul>
<h3>Breaking changes</h3>
<ul>
<li><code>zerocopy</code> feature has been removed.
<code>PageTable::write_to</code> is provided instead.</li>
<li><code>IdMap::activate</code> now returns the previous TTBR value
rather than storing it, and
<code>IdMap::deactivate</code> takes the TTBR value to restore as a
parameter. <code>IdMap::mark_active</code> no longer
takes a previous TTBR value parameter. The same applies to the
equivalent methods on <code>LinearMap</code>.</li>
<li>Renamed <code>Mapping::activate_raw</code> to <code>activate</code>,
and added previous TTBR value parameter to
<code>Mapping::deactivate</code>.</li>
<li>A page table may be activated multiple times (e.g. on multiple
cores) and will keep track of how
many times it has been activated. It will only be considered inactive
once it has been deactivated
the same number of times.</li>
<li><code>MapError::PteUpdateFault</code> now contains a
<code>usize</code> rather than a <code>Descriptor</code>.</li>
<li><code>Descriptor</code> no longer implements <code>Copy</code>,
<code>Clone</code>, <code>Default</code>, <code>PartialEq</code> or
<code>Eq</code>, as it now
contains an <code>AtomicUsize</code> rather than just a
<code>usize</code>. Various methods on <code>Descriptor</code> now take
<code>&amp;self</code> rather than <code>self</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="3aa97a9233"><code>3aa97a9</code></a>
Prepare for 0.10.0 release.</li>
<li><a
href="426f0eb2b8"><code>426f0eb</code></a>
Add changes to changelog. (<a
href="https://redirect.github.com/google/aarch64-paging/issues/81">#81</a>)</li>
<li><a
href="3046d1f8ba"><code>3046d1f</code></a>
Add changes to changelog.</li>
<li><a
href="ffaefdd6eb"><code>ffaefdd</code></a>
Add support for GP bit (<a
href="https://redirect.github.com/google/aarch64-paging/issues/80">#80</a>)</li>
<li><a
href="f7073ed3ef"><code>f7073ed</code></a>
Bump bitflags from 2.9.0 to 2.9.1 (<a
href="https://redirect.github.com/google/aarch64-paging/issues/78">#78</a>)</li>
<li><a
href="3146fc9472"><code>3146fc9</code></a>
Deal with memory ordering in page tables</li>
<li><a
href="83c51b4006"><code>83c51b4</code></a>
Drop dependency on zerocopy</li>
<li><a
href="73cf4deb34"><code>73cf4de</code></a>
Mark page tables active before loading them into the MMU</li>
<li><a
href="c58a108b2e"><code>c58a108</code></a>
Move TTBR preserve/restore out of the API</li>
<li><a
href="0d3a2d6339"><code>0d3a2d6</code></a>
Revert &quot;Factor out Mapping::activate_raw.&quot;</li>
<li>Additional commits viewable in <a
href="https://github.com/google/aarch64-paging/compare/0.9.1...0.10.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=aarch64-paging&package-manager=cargo&previous-version=0.9.1&new-version=0.10.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-06 09:52:14 +02:00
dependabot[bot]
90c0879239 cargo: bump aarch64-rt from 0.2.1 to 0.2.2 in /src/exercises/bare-metal/rtc in the patch group (#2836)
Bumps the patch group in /src/exercises/bare-metal/rtc with 1 update:
[aarch64-rt](https://github.com/google/aarch64-rt).

Updates `aarch64-rt` from 0.2.1 to 0.2.2
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/google/aarch64-rt/blob/main/CHANGELOG.md">aarch64-rt's
changelog</a>.</em></p>
<blockquote>
<h2>0.2.2</h2>
<h3>Improvements</h3>
<ul>
<li>Added optional parameters to <code>initial_pagetable!</code> to
allow initial MAIR, TCR and SCTLR values to
be specified. The default values are exposed as constants.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="2ba1c5153b"><code>2ba1c51</code></a>
Prepare for 0.2.2 release.</li>
<li><a
href="02b0802d0a"><code>02b0802</code></a>
Merge pull request <a
href="https://redirect.github.com/google/aarch64-rt/issues/17">#17</a>
from google/pagetable</li>
<li><a
href="442899cec7"><code>442899c</code></a>
Specify MAIR in example.</li>
<li><a
href="141090a51c"><code>141090a</code></a>
Allow just MAIR to be specified.</li>
<li><a
href="5720896eee"><code>5720896</code></a>
Allow initial MAIR, TCR and SCTLR values to be specified.</li>
<li><a
href="76b1699a3d"><code>76b1699</code></a>
Bump smccc from 0.2.1 to 0.2.2 (<a
href="https://redirect.github.com/google/aarch64-rt/issues/16">#16</a>)</li>
<li>See full diff in <a
href="https://github.com/google/aarch64-rt/compare/0.2.1...0.2.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=aarch64-rt&package-manager=cargo&previous-version=0.2.1&new-version=0.2.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-06 09:51:28 +02:00