about summary refs log tree commit diff
path: root/scripts
AgeCommit message (Collapse)AuthorLines
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-18Use real atomic instructions instead of a global lockbjorn3-1/+1
2021-02-14Recognize FreeBSD as OSbjorn3-1/+1
2021-02-14Use #!/usr/bin/env bashbjorn3-4/+4
FreeBSD doesn't have /bin/bash
2021-02-02Fix rustc bootstrap testbjorn3-15/+25
2021-01-31Move some env var definitions around to fix cross-compilationbjorn3-1/+2
2021-01-31Split config.sh and add support for copying the mingw runtime objectsbjorn3-28/+27
2021-01-30dont set rustflags when no specific linker neededParis DOUADY-1/+5
2021-01-21Fix indirectly linking to libstd.so with the JITbjorn3-1/+1
2021-01-06Disable timings by default for cargo.shbjorn3-1/+0
Fixes #1121
2020-12-25Add documentationbjorn3-0/+2
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-4/+4
2020-11-27Revert "Use the new component dependency option of the rust-toolchain file"bjorn3-2/+2
This reverts commit 648caced6eb0d23c31758f69f2f44a7d748526b9. Rustup on github actions isn't yet updated
2020-11-27Use the new component dependency option of the rust-toolchain filebjorn3-2/+2
2020-11-13Remove unnecessary paths from LD_LIBRARY_PATHbjorn3-1/+1
2020-11-13Use rpath to compile the cg_clif executablebjorn3-1/+1
2020-11-08Better build dir layoutbjorn3-4/+4
It now matches the layout used by rustc itself
2020-11-07Sync from rust 0256d065d4901b63def6c04013da4f781d0752bbbjorn3-0/+2
2020-11-06Don't overwrite RUSTFLAGS for cargo.shbjorn3-1/+1
2020-11-06Add rustup pull commandbjorn3-7/+23
2020-11-06fix shellcheck error of SC2068Daiki Ihara-2/+2
2020-11-06fix shellcheck error of SC2148Daiki Ihara-0/+1
2020-11-05make requested PR changesJakob Hellermann-4/+1
2020-11-04manually fix some shellcheck warningsJakob Hellermann-5/+8
2020-11-04run 'shellcheck -f diff $(fd --extension sh) | git apply'Jakob Hellermann-29/+29
2020-11-03Remove unnecessary -Ztrim-diagnostic-paths=nobjorn3-1/+1
2020-11-03Merge commit '03f01bbe901d60b71cf2c5ec766aef5e532ab79d' into ↵bjorn3-6/+219
update_cg_clif-2020-11-01
2020-11-02Test bootstrapping of rustc using cg_clifbjorn3-0/+65
2020-11-02Refactor the build systembjorn3-27/+73
2020-11-01Split the actual tests out into scripts/tests.shbjorn3-0/+102
2020-10-05Install rustfmt by default when doing a rustupbjorn3-0/+1
2020-09-30Prevent usage of sccachebjorn3-0/+7
It doesn't detect cg_clif as a rust compiler Fixes #1091
2020-09-29Replace CG_CLIF_JIT with --jitbjorn3-1/+1
2020-09-29Add custom driverbjorn3-3/+6
2020-09-29Fix panicbjorn3-1/+1
2020-09-29Rustup to rustc 1.48.0-nightly (fc2daaae6 2020-09-28)bjorn3-2/+0
2020-09-23Small change to test scriptbjorn3-0/+2
2020-09-16Reorganize scriptsbjorn3-0/+206