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,
};
pub fn opts() -> TargetOptions {
pub(crate) fn opts() -> TargetOptions {
TargetOptions {
os: "mikros".into(),
executables: true,

View File

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

View File

@ -405,8 +405,8 @@ dependencies = [
"std_detect",
"unwind",
"wasi",
"x86_64",
"windows-targets 0.0.0",
"x86_64",
]
[[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);
/// 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
I: SliceIndex<[T]>,
R: DerefMut,

View File

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