Skip to content

Commit 756d1d1

Browse files
authored
Merge pull request #2006 from wasmerio/fix/enumset-issue-by-using-fork
Use fork of enumset to fix `syn` issue
2 parents a8fda07 + 1e54244 commit 756d1d1

File tree

6 files changed

+76
-75
lines changed

6 files changed

+76
-75
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
- [#2005](https://github.com/wasmerio/wasmer/pull/2005) Added the arguments `alias` and `optional` to `WasmerEnv` derive's `export` attribute.
1212

1313
### Changed
14+
- [#2006](https://github.com/wasmerio/wasmer/pull/2006) Use `wasmer_enumset`, a fork of the `enumset` crate to work around a breaking change in `syn`
1415
- [#1985](https://github.com/wasmerio/wasmer/pull/1985) Bump minimum supported Rust version to 1.48
1516

1617
### Fixed

Cargo.lock

+23-23
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/compiler/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ wasmer-vm = { path = "../vm", version = "1.0.0" }
1515
wasmer-types = { path = "../wasmer-types", version = "1.0.0", default-features = false }
1616
wasmparser = { version = "0.65", optional = true, default-features = false }
1717
target-lexicon = { version = "0.11", default-features = false }
18-
enumset = "1.0"
18+
wasmer_enumset = "1.0"
1919
hashbrown = { version = "0.9", optional = true }
2020
serde = { version = "1.0", features = ["derive"], optional = true }
2121
thiserror = "1.0"

lib/compiler/src/target.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
use crate::error::ParseCpuFeatureError;
33
use crate::lib::std::str::FromStr;
44
use crate::lib::std::string::{String, ToString};
5-
use enumset::{EnumSet, EnumSetType};
65
pub use target_lexicon::{
76
Architecture, BinaryFormat, CallingConvention, Endianness, OperatingSystem, PointerWidth,
87
Triple,
98
};
9+
use wasmer_enumset::{EnumSet, EnumSetType};
1010

1111
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
1212
use raw_cpuid::CpuId;

lib/deprecated/runtime-core/Cargo.lock

+25-25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/deprecated/runtime/Cargo.lock

+25-25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)