Skip to content
This repository was archived by the owner on Oct 3, 2025. It is now read-only.

Commit 6cf5448

Browse files
fix: broken dependency on latest nightly
Signed-off-by: Henry Gressmann <[email protected]>
1 parent 3d1a621 commit 6cf5448

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,7 @@ opt-level=3
3636
lto="thin"
3737
codegen-units=1
3838
debug=true
39+
40+
[patch.crates-io]
41+
# https://github.com/servo/pathfinder/pull/548
42+
pathfinder_simd={git="https://github.com/servo/pathfinder", rev="e4fcda0d5259d0acf902aee6de7d2501f2bd6629"}

crates/tinywasm/src/store/memory.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,14 +177,17 @@ impl MemoryInstance {
177177
/// UB for loading things things like packed structs
178178
pub(crate) unsafe trait MemLoadable<const T: usize>: Sized + Copy {
179179
/// Load a value from memory
180+
#[allow(unused)]
180181
fn from_le_bytes(bytes: [u8; T]) -> Self;
181182
/// Load a value from memory
183+
#[allow(unused)]
182184
fn from_be_bytes(bytes: [u8; T]) -> Self;
183185
}
184186

185187
macro_rules! impl_mem_loadable_for_primitive {
186188
($($type:ty, $size:expr),*) => {
187189
$(
190+
#[allow(unused)]
188191
#[allow(unsafe_code)]
189192
unsafe impl MemLoadable<$size> for $type {
190193
#[inline]

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[toolchain]
2-
channel="nightly"
2+
channel="nightly-2024-02-11"

0 commit comments

Comments
 (0)