Commit Graph

1657 Commits

Author SHA1 Message Date
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
bjorn3
dc1165300d Update for the merge of Cranelift into Wasmtime 2020-02-29 14:24:29 +01:00
bjorn3
d07767b5c1 Rustup to rustc 1.43.0-nightly (0eb878d2a 2020-02-28) 2020-02-29 14:19:16 +01:00
bjorn3
900c04a423 Implement simd_fma 2020-02-26 16:35:13 +01:00
bjorn3
fd6c463367
Merge pull request #784 from bjorn3/wip_tls_support
TLS support
2020-02-26 15:11:37 +01:00
bjorn3
c8de552c01 Tls support 2020-02-26 14:41:05 +01:00
bjorn3
0e0afb4f1f Rustup to rustc 1.43.0-nightly (6fd8798f4 2020-02-25) 2020-02-26 14:30:11 +01:00
dependabot-preview[bot]
d57e344bd3
Merge pull request #903 from bjorn3/dependabot/cargo/cranelift-codegen-5ad5505 2020-02-24 06:57:12 +00:00
dependabot-preview[bot]
101f8d4ecf
Bump cranelift-codegen from 0c7da4a to 5ad5505
Bumps [cranelift-codegen](https://github.com/bytecodealliance/cranelift) from `0c7da4a` to `5ad5505`.
- [Release notes](https://github.com/bytecodealliance/cranelift/releases)
- [Commits](0c7da4a663...5ad55057f1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 05:09:52 +00:00
bjorn3
53ef00e68c Fix JIT on macOS
Fixes #671
2020-02-22 15:57:53 +01:00
bjorn3
cc30c20293 Silence some warnings 2020-02-22 15:18:03 +01:00
bjorn3
43e23af700 Update dependencies 2020-02-22 14:29:34 +01:00
bjorn3
ad7e8ad2cc Update Cranelift 2020-02-22 14:25:22 +01:00
bjorn3
c1bf153049 Rustup to rustc 1.43.0-nightly (8aa9d2014 2020-02-21) 2020-02-22 14:20:37 +01:00
dependabot-preview[bot]
2714068b97
Bump thiserror from 1.0.10 to 1.0.11 (#894)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.10 to 1.0.11.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.10...1.0.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-17 17:54:27 +01:00
dependabot-preview[bot]
45d5c6fd9c
Merge pull request #896 from bjorn3/dependabot/cargo/cranelift-codegen-cd3d84e 2020-02-17 06:32:54 +00:00
dependabot-preview[bot]
487e4ff86e
Bump cranelift-codegen from f1aa072 to cd3d84e
Bumps [cranelift-codegen](https://github.com/bytecodealliance/cranelift) from `f1aa072` to `cd3d84e`.
- [Release notes](https://github.com/bytecodealliance/cranelift/releases)
- [Commits](f1aa07265b...cd3d84e580)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-17 05:10:16 +00:00