Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
philipc committed Oct 4, 2024
1 parent 5527f23 commit eea640b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ features = ['doc']
crc32fast = { version = "1.2", default-features = false, optional = true }
flate2 = { version = "1", optional = true }
indexmap = { version = "2.0", default-features = false, optional = true }
wasmparser = { version = "0.216.0", default-features = false, optional = true }
wasmparser = { version = "0.218.0", default-features = false, optional = true }
memchr = { version = "2.4.1", default-features = false }
hashbrown = { version = "0.14.0", features = ["ahash"], default-features = false, optional = true }
hashbrown = { version = "0.15.0", features = ["default-hasher"], default-features = false, optional = true }
ruzstd = { version = "0.7.0", optional = true }

# Internal feature, only used when building as part of libstd, not part of the
Expand Down
6 changes: 1 addition & 5 deletions src/read/wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,11 +325,7 @@ impl<'data, R: ReadRef<'data>> WasmFile<'data, R> {
range.start = range.end - size;
file.add_section(SectionId::Custom, range, name);
if name == "name" {
let reader = wp::BinaryReader::new(
section.data(),
section.data_offset(),
wp::WasmFeatures::all(),
);
let reader = wp::BinaryReader::new(section.data(), section.data_offset());
for name in wp::NameSectionReader::new(reader) {
// TODO: Right now, ill-formed name subsections
// are silently ignored in order to maintain
Expand Down
2 changes: 1 addition & 1 deletion src/write/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use alloc::vec::Vec;
#[cfg(feature = "write_std")]
type IndexSet<K> = indexmap::IndexSet<K>;
#[cfg(not(feature = "write_std"))]
type IndexSet<K> = indexmap::IndexSet<K, hashbrown::hash_map::DefaultHashBuilder>;
type IndexSet<K> = indexmap::IndexSet<K, hashbrown::DefaultHashBuilder>;

/// An identifier for an entry in a string table.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
Expand Down
2 changes: 0 additions & 2 deletions xtask/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,15 +185,13 @@ fn cmd_cross() -> Result<(), DynError> {
}

fn cmd_msrv() -> Result<(), DynError> {
cargo(&["update", "-p", "ahash", "--precise", "0.8.7"])?;
cmd_with(
"cargo",
&["+1.65.0", "test", "-p", "object", "--no-default-features", "--features", "read,write,build,std"],
|cmd| {
cmd.env("CARGO_NET_GIT_FETCH_WITH_CLI", "true");
},
)?;
cargo(&["update", "-p", "ahash"])?;
// wasmparser needs 1.76.0 and ruzstd needs 1.73
cmd_with(
"cargo",
Expand Down

0 comments on commit eea640b

Please sign in to comment.