mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-04-16 22:16:36 +00:00
build: upgrade ron
0.8.1 → 0.9.0
This commit is contained in:
parent
b3da513d51
commit
1d4740e89d
21
Cargo.lock
generated
21
Cargo.lock
generated
@ -312,9 +312,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "base64"
|
||||
version = "0.21.7"
|
||||
version = "0.22.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
|
||||
checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
|
||||
|
||||
[[package]]
|
||||
name = "base64-simd"
|
||||
@ -1338,7 +1338,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d"
|
||||
dependencies = [
|
||||
"libc",
|
||||
"windows-sys 0.52.0",
|
||||
"windows-sys 0.59.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@ -2041,7 +2041,7 @@ checksum = "e04d7f318608d35d4b61ddd75cbdaee86b023ebe2bd5a66ee0915f0bf93095a9"
|
||||
dependencies = [
|
||||
"hermit-abi 0.5.0",
|
||||
"libc",
|
||||
"windows-sys 0.52.0",
|
||||
"windows-sys 0.59.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@ -2195,7 +2195,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"windows-targets 0.48.5",
|
||||
"windows-targets 0.52.6",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@ -3378,14 +3378,15 @@ checksum = "19b30a45b0cd0bcca8037f3d0dc3421eaf95327a17cad11964fb8179b4fc4832"
|
||||
|
||||
[[package]]
|
||||
name = "ron"
|
||||
version = "0.8.1"
|
||||
version = "0.9.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b91f7eff05f748767f183df4320a63d6936e9c6107d97c9e6bdd9784f4289c94"
|
||||
checksum = "63f3aa105dea217ef30d89581b65a4d527a19afc95ef5750be3890e8d3c5b837"
|
||||
dependencies = [
|
||||
"base64",
|
||||
"bitflags 2.9.0",
|
||||
"serde",
|
||||
"serde_derive",
|
||||
"unicode-ident",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@ -3434,7 +3435,7 @@ dependencies = [
|
||||
"errno",
|
||||
"libc",
|
||||
"linux-raw-sys",
|
||||
"windows-sys 0.52.0",
|
||||
"windows-sys 0.59.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@ -4112,7 +4113,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "69fff37da548239c3bf9e64a12193d261e8b22b660991c6fd2df057c168f435f"
|
||||
dependencies = [
|
||||
"cc",
|
||||
"windows-targets 0.48.5",
|
||||
"windows-targets 0.52.6",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@ -4928,7 +4929,7 @@ version = "0.1.9"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
|
||||
dependencies = [
|
||||
"windows-sys 0.52.0",
|
||||
"windows-sys 0.59.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -142,7 +142,7 @@ profiling = { version = "1", default-features = false }
|
||||
raw-window-handle = { version = "0.6", default-features = false }
|
||||
rayon = "1"
|
||||
renderdoc-sys = "1.1.0"
|
||||
ron = "0.8"
|
||||
ron = "0.9"
|
||||
# NOTE: rustc-hash v2 is a completely different hasher with different performance characteristics
|
||||
# see discussion here (including with some other alternatives): https://github.com/gfx-rs/wgpu/issues/6999
|
||||
# (using default-features = false to support no-std build, avoiding any extra features that may require std::collections)
|
||||
|
@ -36,7 +36,7 @@ use std::{
|
||||
fs::File,
|
||||
panic::Location,
|
||||
path::{Path, PathBuf},
|
||||
vec::Vec,
|
||||
string::String,
|
||||
};
|
||||
|
||||
use super::rank::{LockRank, LockRankSet};
|
||||
@ -341,7 +341,7 @@ struct ObservationLog {
|
||||
locations_seen: FastHashSet<*const Location<'static>>,
|
||||
|
||||
/// Buffer for serializing events, retained for allocation reuse.
|
||||
buffer: Vec<u8>,
|
||||
buffer: String,
|
||||
}
|
||||
|
||||
#[allow(trivial_casts)]
|
||||
@ -358,7 +358,7 @@ impl ObservationLog {
|
||||
Ok(ObservationLog {
|
||||
log_file,
|
||||
locations_seen: FastHashSet::default(),
|
||||
buffer: Vec::new(),
|
||||
buffer: String::new(),
|
||||
})
|
||||
}
|
||||
|
||||
@ -408,9 +408,9 @@ impl ObservationLog {
|
||||
self.buffer.clear();
|
||||
ron::ser::to_writer(&mut self.buffer, &action)
|
||||
.expect("error serializing `lock::observing::Action`");
|
||||
self.buffer.push(b'\n');
|
||||
self.buffer.push('\n');
|
||||
self.log_file
|
||||
.write_all(&self.buffer)
|
||||
.write_all(self.buffer.as_bytes())
|
||||
.expect("error writing `lock::observing::Action`");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user