Skip to content

Commit 9378dd3

Browse files
committed
Remove references to deprecated external_asm feature
Signed-off-by: Joe Richey <joerichey@google.com>
1 parent 180a71c commit 9378dd3

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
uses: actions-rs/cargo@v1
6565
with:
6666
command: doc
67-
args: --no-default-features --features external_asm,instructions
67+
args: --no-default-features --features instructions
6868
if: runner.os != 'Windows'
6969

7070
- name: "Run cargo doc without default features"
@@ -83,14 +83,14 @@ jobs:
8383
uses: actions-rs/cargo@v1
8484
with:
8585
command: build
86-
args: --no-default-features --features external_asm,instructions
86+
args: --no-default-features --features instructions
8787
if: runner.os != 'Windows'
8888

8989
- name: "Run cargo build for stable on musl"
9090
uses: actions-rs/cargo@v1
9191
with:
9292
command: build
93-
args: --target x86_64-unknown-linux-musl --no-default-features --features external_asm,instructions
93+
args: --target x86_64-unknown-linux-musl --no-default-features --features instructions
9494
if: runner.os == 'Linux'
9595

9696
- name: "Run cargo test"
@@ -102,14 +102,14 @@ jobs:
102102
uses: actions-rs/cargo@v1
103103
with:
104104
command: test
105-
args: --no-default-features --features external_asm,instructions
105+
args: --no-default-features --features instructions
106106
if: runner.os != 'Windows'
107107

108108
- name: "Run cargo test for stable on musl"
109109
uses: actions-rs/cargo@v1
110110
with:
111111
command: test
112-
args: --target x86_64-unknown-linux-musl --no-default-features --features external_asm,instructions
112+
args: --target x86_64-unknown-linux-musl --no-default-features --features instructions
113113
if: runner.os == 'Linux'
114114

115115
- name: "Install Rustup Targets"

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ Support for x86_64 specific instructions (e.g. TLB flush), registers (e.g. contr
99

1010
* `nightly`: Enables features only available on nightly Rust; enabled by default.
1111
* `instructions`: Enabled by default, turns on x86\_64 specific instructions, and dependent features. Only available for x86\_64 targets.
12-
* `external_asm`: Use this to build with non-nightly rust. Needs `default-features = false, features = ["instructions"]`. Is unsupported on Windows.
1312

1413
## Building with stable rust
1514

0 commit comments

Comments
 (0)