Update to latest rustc

This commit is contained in:
pjht 2024-09-04 11:30:38 -05:00
parent f71f3001fe
commit b9afc0a44d
Signed by: pjht
GPG Key ID: 7B5F6AFBEC7EE78E
5 changed files with 11 additions and 27 deletions

View File

@ -2,7 +2,7 @@
Cc, LinkSelfContainedDefault, LinkerFlavor, Lld, RelocModel, StackProbeType, TargetOptions, Cc, LinkSelfContainedDefault, LinkerFlavor, Lld, RelocModel, StackProbeType, TargetOptions,
}; };
pub fn opts() -> TargetOptions { pub(crate) fn opts() -> TargetOptions {
TargetOptions { TargetOptions {
os: "mikros".into(), os: "mikros".into(),
executables: true, executables: true,

View File

@ -1,6 +1,6 @@
use crate::spec::{base, PanicStrategy, Target, TargetMetadata}; use crate::spec::{base, PanicStrategy, Target, TargetMetadata};
pub fn target() -> Target { pub(crate) fn target() -> Target {
let mut base = base::mikros::opts(); let mut base = base::mikros::opts();
base.cpu = "x86-64".into(); base.cpu = "x86-64".into();
base.disable_redzone = true; base.disable_redzone = true;

View File

@ -405,8 +405,8 @@ dependencies = [
"std_detect", "std_detect",
"unwind", "unwind",
"wasi", "wasi",
"x86_64",
"windows-targets 0.0.0", "windows-targets 0.0.0",
"x86_64",
] ]
[[package]] [[package]]

View File

@ -450,7 +450,7 @@ pub fn index<'a, I>(&'a self, index: I) -> Volatile<&'a I::Output, A>
/// subslice.index_mut(0).write(6); /// subslice.index_mut(0).write(6);
/// assert_eq!(subslice.index(0).read(), 6); /// assert_eq!(subslice.index(0).read(), 6);
/// ``` /// ```
pub fn index_mut<'a, I>(&'a mut self, index: I) -> Volatile<&mut I::Output, A> pub fn index_mut<'a, I>(&'a mut self, index: I) -> Volatile<&'a mut I::Output, A>
where where
I: SliceIndex<[T]>, I: SliceIndex<[T]>,
R: DerefMut, R: DerefMut,

View File

@ -303,12 +303,6 @@ dependencies = [
"crypto-common", "crypto-common",
] ]
[[package]]
name = "doc-comment"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10"
[[package]] [[package]]
name = "elasticlunr-rs" name = "elasticlunr-rs"
version = "3.0.2" version = "3.0.2"
@ -471,21 +465,6 @@ dependencies = [
"syn", "syn",
] ]
[[package]]
name = "html_parser"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f6f56db07b6612644f6f7719f8ef944f75fff9d6378fdf3d316fd32194184abd"
dependencies = [
"doc-comment",
"pest",
"pest_derive",
"serde",
"serde_derive",
"serde_json",
"thiserror",
]
[[package]] [[package]]
name = "humantime" name = "humantime"
version = "2.1.0" version = "2.1.0"
@ -690,7 +669,6 @@ dependencies = [
"mdbook", "mdbook",
"once_cell", "once_cell",
"pathdiff", "pathdiff",
"pulldown-cmark",
"regex", "regex",
"semver", "semver",
"serde_json", "serde_json",
@ -702,13 +680,13 @@ name = "mdbook-trpl-listing"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"clap", "clap",
"html_parser",
"mdbook", "mdbook",
"pulldown-cmark", "pulldown-cmark",
"pulldown-cmark-to-cmark", "pulldown-cmark-to-cmark",
"serde_json", "serde_json",
"thiserror", "thiserror",
"toml 0.8.14", "toml 0.8.14",
"xmlparser",
] ]
[[package]] [[package]]
@ -1789,6 +1767,12 @@ dependencies = [
"memchr", "memchr",
] ]
[[package]]
name = "xmlparser"
version = "0.13.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "66fee0b777b0f5ac1c69bb06d361268faafa61cd4682ae064a171c16c433e9e4"
[[package]] [[package]]
name = "yaml-rust" name = "yaml-rust"
version = "0.4.5" version = "0.4.5"