Commit Graph

1373 Commits

Author SHA1 Message Date
bjorn3
092cae12f9 Dont single step into macros
Fixes #782
2020-03-14 14:48:04 +01:00
bjorn3
ce4c514001 Error on allocation containing reference to TLS value
Fixes #868
2020-03-14 14:39:29 +01:00
bjorn3
10ee80c288 Write dummy return value on unimplemented simd_{insert,extract}
Fixes #919
2020-03-14 14:34:07 +01:00
bjorn3
9fd8b84a4b [gh actions] Invalidate cargo-registry cache 2020-03-14 12:49:52 +01:00
bjorn3
bed829389e [gh actions] invalidate cargo-installed-crates cache 2020-03-14 12:47:18 +01:00
bjorn3
50c1d8a028 [gh actions] Really fix permission problems with caching 2020-03-13 20:24:52 +01:00
bjorn3
014438c614 [gh actions] Cache cargo registry and index 2020-03-13 20:22:38 +01:00
bjorn3
2e5661dae6 [gh actions] Fix caching of ~/.cargo/bin 2020-03-13 20:22:33 +01:00
bjorn3
133b05b3a4 [gh actions] Cache target dir for specific rustc version 2020-03-13 19:24:17 +01:00
bjorn3
512b33f001 [gh actions] Fix caching of cargo installed crates 2020-03-13 18:55:25 +01:00
bjorn3
ec9b3e15af Setup github actions 2020-03-13 18:34:00 +01:00
bjorn3
98a073cf26 Shrink vtable symbol names a bit 2020-03-13 11:19:31 +01:00
bjorn3
4d226e8f17 Hash trap message symbol nameThis saves ~7% of disk space 2020-03-13 11:02:14 +01:00
bjorn3
1c02e6c368 Rustup to rustc 1.43.0-nightly (c20d7eecb 2020-03-11) 2020-03-12 21:04:00 +01:00
bjorn3
b469bf3b08 Refactor driver/aot.rs
Fixes #917
2020-03-12 11:58:59 +01:00
bjorn3
933ef94f63 Move aot code to driver/aot.rs 2020-03-12 11:48:17 +01:00
bjorn3
03240d89cc Move jit code to driver/jit.rs 2020-03-12 11:44:27 +01:00
bjorn3
1a0d1ed9df Move driver.rs 2020-03-12 11:42:01 +01:00
bjorn3
dfd365e060 Display crate name in the "codegen mono items" time message 2020-03-12 11:40:42 +01:00
bjorn3
f7666e9c2b Fix typo found by @lqd 2020-03-12 11:25:35 +01:00
bjorn3
7c16ea63f6 [README] Threads are supported 2020-03-12 11:20:36 +01:00
bjorn3
1980371195 Better use of env vars 2020-03-12 11:19:26 +01:00
bjorn3
c2962a603c
Merge pull request #918 from bjorn3/incr_cache
Implement incremental caching of object files
2020-03-11 21:51:11 +01:00
bjorn3
92ff6c2930
Mention CG_CLIF_INCR_CACHE in the readme 2020-03-11 19:54:18 +01:00
bjorn3
e4f1f3db27 Implement incremental caching of object files 2020-03-11 18:42:51 +01:00
bjorn3
1e074106e6 Don't disable inline asm in hint::spin_loop 2020-03-11 14:08:54 +01:00
bjorn3
3fa9366f9c
Merge pull request #916 from bjorn3/fn_once_for_box_without_alloca
Emulate `<Box<F> as FnOnce>::call_once` without `alloca`
2020-03-11 13:58:22 +01:00
bjorn3
c5b5b2b702 Don't disable multithreading in libtest 2020-03-10 20:53:05 +01:00
bjorn3
8878d00794 Rustup to rustc 1.43.0-nightly (3dbade652 2020-03-09) 2020-03-10 20:51:38 +01:00
bjorn3
dcc86d306c Emulate <Box<F> as FnOnce>::call_once without alloca
Fixes #884

cc #15
2020-03-10 20:48:58 +01:00
bjorn3
240d56c33c Support virtual calls with unsized self argument 2020-03-10 20:41:31 +01:00
dependabot-preview[bot]
c53297f5eb
Bump proc-macro2 from 1.0.8 to 1.0.9 (#908)
Bumps [proc-macro2](https://github.com/alexcrichton/proc-macro2) from 1.0.8 to 1.0.9.
- [Release notes](https://github.com/alexcrichton/proc-macro2/releases)
- [Commits](https://github.com/alexcrichton/proc-macro2/compare/1.0.8...1.0.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-10 10:40:23 +01:00
dependabot-preview[bot]
32bcee563e
Bump syn from 1.0.15 to 1.0.16 (#907)
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.15 to 1.0.16.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.15...1.0.16)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-10 10:40:04 +01:00
dependabot-preview[bot]
c84949129b
Bump quote from 1.0.2 to 1.0.3 (#912)
Bumps [quote](https://github.com/dtolnay/quote) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/dtolnay/quote/releases)
- [Commits](https://github.com/dtolnay/quote/compare/1.0.2...1.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-10 10:39:45 +01:00
bjorn3
11b1c8b5c6 Use multiple codegen units
Fixes #909
2020-03-09 11:29:26 +01:00
dependabot-preview[bot]
07799fee41
Merge pull request #913 from bjorn3/dependabot/cargo/cranelift-codegen-fbe29da 2020-03-09 07:10:15 +00:00
dependabot-preview[bot]
12d324ce68
Bump cranelift-codegen from 4284491 to fbe29da
Bumps [cranelift-codegen](https://github.com/bytecodealliance/wasmtime) from `4284491` to `fbe29da`.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Commits](4284491339...fbe29da5cc)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-09 05:17:39 +00:00
bjorn3
6a90b6844f Revert "Use multiple codegen units"
This reverts commit 03acf67a0e.
2020-03-08 13:27:43 +01:00
bjorn3
63f22397ae Fix Cranelift patch paths 2020-03-08 12:25:11 +01:00
bjorn3
03acf67a0e Use multiple codegen units 2020-03-07 12:45:55 +01:00
bjorn3
36ea72c2bd Move emit_module call 2020-03-07 12:45:05 +01:00
bjorn3
97db112295 Move time "codegen mono items" out of codegen_mono_items 2020-03-07 12:16:32 +01:00
bjorn3
575836ebe3 Check for main in current module before codegen of entry wrapper 2020-03-07 12:13:54 +01:00
bjorn3
2ecffb6fc4 Inline codegen_cgus 2020-03-07 11:54:35 +01:00
bjorn3
152bde63fe Misc changes 2020-03-07 11:27:49 +01:00
bjorn3
a29730e288 Update Cranelift 2020-03-07 11:11:42 +01:00
bjorn3
5d2a1daf83 Remove unused inline asm whitelist 2020-03-07 11:10:33 +01:00
bjorn3
576aa76445 Don't run dsymutil on librustc_codegen_cranelift on macOS
This halves clean incremental compilation time
2020-03-07 11:06:24 +01:00
bjorn3
b00927b956 Rustup to rustc 1.43.0-nightly (2890b37b8 2020-03-06) 2020-03-07 10:39:57 +01:00
bjorn3
9ab2af56aa Rustup to rustc 1.43.0-nightly (4ad624882 2020-03-03) 2020-03-04 15:04:28 +01:00