about summary refs log tree commit diff
path: root/scripts/tests.sh
AgeCommit message (Collapse)AuthorLines
2022-03-25Fix NaN handling of simd float min and max operationsbjorn3-0/+4
2022-03-13Add and remove some fixmesbjorn3-1/+0
2021-12-30Rename cargo executable to cargo-clifbjorn3-18/+18
This allows executing it like cargo clif build if you add it to your PATH. It also fixes infinite recursion on Windows when invoking it as Windows includes the current directory in PATH by default. Fixes #971
2021-12-20Fix taking address of truly unsized type field of unsized adtbjorn3-0/+4
2021-09-12Re-enable portable simd testingbjorn3-9/+8
2021-09-01Disable protable-simd testsbjorn3-8/+9
Portable-simd doesn't compile on latest nightly
2021-09-01Update protable-simdbjorn3-2/+2
2021-07-29Fix float min and max operations in presence of NaNbjorn3-0/+1
Cranelift's fmin and fmax instructions propagate NaN, while Rust's min and max don't. Fixes #1049
2021-07-25Add fixmebjorn3-1/+4
2021-07-25Run stdsimd test suitebjorn3-0/+5
2021-07-17Put all cg_clif specific options behind -Zunstable-featuresbjorn3-4/+4
2021-06-25Merge pull request #1166 from eggyal/lazy-jit-multithreadedbjorn3-1/+1
Multithreading support for lazy-jit
2021-06-25Test multithreading support in lazy-jitbjorn3-1/+1
2021-06-20Rewrite cargo.sh in rustbjorn3-17/+18
2021-06-10Add missing cargo clean when cross-compilingbjorn3-0/+1
2021-05-04Force deprecation warning that was promoted to an error back to a warningbjorn3-0/+1
2021-03-31Revert "Build with `-Cpanic=unwind` by default"bjorn3-2/+2
This reverts commit afe74d71e4c2f08696ade0de321a45f7442440d8. It shouldn't have been pushed to master as it isn't ready yet.
2021-03-31Build with `-Cpanic=unwind` by defaultbjorn3-2/+2
This doesn't enable unwinding as cg_clif doesn't support it yet. It does allow for linking to a cg_llvm compiled libstd.so, which uses `-Cpanic=unwind`.
2021-03-05Build all tests when cross-compilingbjorn3-13/+32
2021-02-21Rustup to rustc 1.52.0-nightly (83b30a639 2021-02-20)bjorn3-2/+2
2021-02-21Don't build alloc_system as part of the sysrootbjorn3-0/+3
2021-02-14Use #!/usr/bin/env bashbjorn3-1/+1
FreeBSD doesn't have /bin/bash
2021-01-31Move some env var definitions around to fix cross-compilationbjorn3-1/+1
2020-12-25Implement lazy compilation in JIT modebjorn3-0/+6
Lazy compilation has the potential to significantly improve the startup time of a program. While functions have to be codegened when called, it is expected that a significant amount of all code is only required when an error occurs or only when the program is used in certain ways. The basic approach is to first codegen a shim for each function. This shim calls the `__cg_clif_jit` function of cg_clif with a pointer to the `Instance` corresponding to the function for which it is a shim. `__cg_clif_jit` function then codegens this function and uses the hot code swapping support of SimpleJIT to redirect future calls to the function to the real version. Finally it calls the newly codegened function.
2020-12-25Change the way JIT mode is selectedbjorn3-2/+2
2020-11-04manually fix some shellcheck warningsJakob Hellermann-1/+1
2020-11-04run 'shellcheck -f diff $(fd --extension sh) | git apply'Jakob Hellermann-14/+14
2020-11-02Refactor the build systembjorn3-21/+42
2020-11-01Split the actual tests out into scripts/tests.shbjorn3-0/+102