diff options
| author | Jack O'Connor <[email protected]> | 2020-03-31 12:36:41 -0400 |
|---|---|---|
| committer | Jack O'Connor <[email protected]> | 2020-04-01 19:13:15 -0400 |
| commit | b8cdcb1f84cf794c7072bbfaacac71f6a5857e3c (patch) | |
| tree | 8c79aa18cf9ae1ee4908b88a546b4283646ca890 /.github/workflows | |
| parent | eec458d03ee7828225dda4f08138563d4ff8bb6d (diff) | |
automatically fall back to the pure Rust build
There are two scenarios where compiling AVX-512 C or assembly code might
not work:
1. There might not be a C compiler installed at all. Most commonly this
is either in cross-compiling situations, or with the Windows GNU
target.
2. The installed C compiler might not support e.g. -mavx512f, because
it's too old.
In both of these cases, print a relevant warning, and then automatically
fall back to using the pure Rust intrinsics build.
Note that this only affects x86 targets. Other targets always use pure
Rust, unless the "neon" feature is enabled.
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/ci.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8925ba5..7b218dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,6 +3,7 @@ name: tests on: [push, pull_request] env: + BLAKE3_CI: "1" RUSTFLAGS: "-D warnings" jobs: |
