Skip to content

Commit 039795d

Browse files
authored
Merge pull request #2405 from VolodymyrBg/BT1899AE
Remove obsolete cranelift feature documentation
2 parents a66c0b6 + be9a7e5 commit 039795d

File tree

2 files changed

+3
-15
lines changed

2 files changed

+3
-15
lines changed

packages/vm/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ dhat = { version = "0.3.3", optional = true }
7575
tracing = "0.1.32"
7676

7777
# Wasmer git/local (used for quick local debugging or patching)
78-
# wasmer = { git = "https://github.com/wasmerio/wasmer", rev = "877ce1f7c44fad853c", default-features = false, features = ["cranelift", "singlepass"] }
78+
# wasmer = { git = "https://github.com/wasmerio/wasmer", rev = "877ce1f7c44fad853c", default-features = false, features = ["singlepass"] }
7979
# wasmer-middlewares = { git = "https://github.com/wasmerio/wasmer", rev = "877ce1f7c44fad853c" }
80-
# wasmer = { path = "../../../wasmer/lib/api", default-features = false, features = ["cranelift", "singlepass"] }
80+
# wasmer = { path = "../../../wasmer/lib/api", default-features = false, features = ["singlepass"] }
8181
# wasmer-middlewares = { path = "../../../wasmer/lib/middlewares" }
8282

8383
[dev-dependencies]

packages/vm/README.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -100,32 +100,20 @@ cp target/wasm32-unknown-unknown/release/floaty.wasm ../../packages/vm/testdata/
100100

101101
## Testing
102102

103-
By default, this repository is built and tested with the singlepass backend. You
104-
can enable the `cranelift` feature to override the default backend with
105-
Cranelift
103+
By default, this repository is built and tested with the singlepass backend.
106104

107105
```sh
108106
cd packages/vm
109107
cargo test --features iterator
110-
cargo test --features cranelift,iterator
111108
```
112109

113110
## Benchmarking
114111

115-
Using Singlepass:
116-
117112
```
118113
cd packages/vm
119114
cargo bench --no-default-features
120115
```
121116

122-
Using Cranelift:
123-
124-
```
125-
cd packages/vm
126-
cargo bench --no-default-features --features cranelift
127-
```
128-
129117
## Tools
130118

131119
`module_size` and `module_size.sh`

0 commit comments

Comments
 (0)