-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
ensure_no_std
build to CI (#1232)
* Add ensure_no_std build to CI * Add print to test * Install wasm32 target for no-std testing * Fix: added option in wrong job * Try another breaking change * Remove "alloc" feature in Cargo.toml * Also add compilation with the 'alloc' option * Add cairo-vm to ensure_no_std deps * Remove alloc feature * Fix (WIP) * comment vm (not no_std ready); use nightly toolchain * add Timothée num-prime fork and fix no-std support * run cargo fmt * fix clippy; add original num_prime for tests; ignore unused FloatCore * fix typo on unused_variables instead imports * remove prime computations for non default primality test config * Split implementation of is_prime into std/no_std * Remove unused import * Change some constants * Update dir name * Fix errors * Use modpow, and increase time of bench * Merge smoke and smoke-no_std * Use mul instead of pow --------- Co-authored-by: João Carvalho <joao.carvalho@tripleoak.pt>
- Loading branch information
1 parent
e876253
commit 8a72ddc
Showing
7 changed files
with
859 additions
and
848 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.