Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using of the asm feature to improve the performance of basic functions #78

Merged
merged 7 commits into from
Nov 21, 2020
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .cargo/config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[unstable]
build-std = ["std", "core", "alloc", "panic_abort"]
build-std-features = ["compiler-builtins-mem"]
build-std-features = ["compiler-builtins-mem", "compiler-builtins-asm"]

[build]
target = "x86_64-unknown-hermit"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:


steps:
- uses: hecrj/setup-rust-action@v1.3.1
- uses: hecrj/setup-rust-action@v1
with:
rust-version: ${{ matrix.rust }}
components: ${{ matrix.components || '' }}
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
targets: 'x86_64-unknown-linux-gnu'

steps:
- uses: hecrj/setup-rust-action@v1.3.1
- uses: hecrj/setup-rust-action@v1
with:
rust-version: ${{ matrix.rust }}
components: ${{ matrix.components || '' }}
Expand All @@ -55,10 +55,14 @@ jobs:
brew install qemu nasm
if: ${{ matrix.os == 'macOS-latest' }}
- name: Install qemu/nasm (windows)
uses: crazy-max/ghaction-chocolatey@v1
with:
args: install qemu nasm
if: ${{ matrix.os == 'windows-latest' }}
- name: Set path to qemu/nasm (Windows)
run: |
choco install qemu nasm
echo "::add-path::C:\Program Files\NASM"
echo "::add-path::C:\Program Files\qemu"
echo "C:\Program Files\qemu" >> $GITHUB_PATH
echo "C:\Program Files\nasm" >> $GITHUB_PATH
if: ${{ matrix.os == 'windows-latest' }}
- name: Building dev version
run:
Expand Down