Commit Graph

410 Commits

Author SHA1 Message Date
bjorn3
fef517eae7 Remove almost all remaining feature gates
Only rustc_private is still enabled as cg_clif by definition needs to
use internal rustc api's.
2022-03-13 17:55:55 +01:00
bjorn3
d2026d679e Update Cranelift to 0.82.1
This fixes a miscompilation
2022-03-10 14:50:09 +01:00
bjorn3
01ffb98db5 Update dependencies 2022-03-08 20:08:50 +01:00
bjorn3
3ccf12acdd Update Cranelift to 0.82.0 2022-03-08 20:01:48 +01:00
bjorn3
75a463a583 Update Cranelift to 0.81.0 2022-02-08 18:24:50 +01:00
bjorn3
3ff158e3ed Update dependencies 2022-01-30 16:57:30 +01:00
bjorn3
2d32e51d86 Sync from rust a00e130dae 2022-01-30 13:25:57 +01:00
pierwill
2c26139bbc Use an indexmap to avoid sorting LocalDefIds
Update `indexmap` to 1.8.0.

Bless test
2022-01-22 22:34:16 -06:00
bjorn3
759c4ac08f Update to Cranelift 0.80.0 2022-01-10 12:26:03 +01:00
bjorn3
e4fff03d40 Update Cranelift to 0.79.1
This version fixes the regressions in 0.79.0
2022-01-05 12:22:23 +01:00
bjorn3
799e067912 Merge commit '97e504549371d7640cf011d266e3c17394fdddac' into sync_cg_clif-2021-12-20 2021-12-20 18:56:35 +01:00
bjorn3
f505157f2c Revert "Update Cranelift to 0.79.0"
This reverts commit a1037fad7d.

There are two regressions in Cranelift with respect to small integer
operations. Both have already been fixed on thebmain branch, but we will
have to wait for a new Cranelift release. They have been fixed by
bytecodealliance/wasmtime#3610 and bytecodealliance/wasmtime#3617.
2021-12-17 23:23:17 +01:00
bjorn3
a1037fad7d Update Cranelift to 0.79.0 2021-12-16 18:57:25 +01:00
bjorn3
9e755f483a Update libc 2021-12-16 14:46:43 +01:00
bjorn3
5f5a2f262f Update dependencies 2021-12-01 18:36:19 +01:00
bjorn3
23bcafa256 Update object 2021-12-01 18:34:19 +01:00
bjorn3
977e884acf Use crates.io releases of Cranelift
I originally switched the Cranelift dependencies to use git as cg_clif
required a lot of new Cranelift features. With crates.io dependencies I
would have to wait for a new release every time. With git dependencies I
could start using the new features as soon as they were merged.
Currently there aren't a lot of new Cranelift features necessary anymore
and those that are useful are no longer blocking compilation of lots of
crates. There was some concern expressed about using git dependencies in
the main rust repo, so all together I think it is best to switch to
crates.io releases and if necessary wait a bit before merging changes
requiring newer Cranelift commits.
2021-10-29 16:22:47 +02:00
bjorn3
adabc2ccda Update Cranelift and object 2021-10-21 15:20:40 +02:00
bjorn3
2bb3f767e5 Update Cranelift 2021-10-13 16:59:59 +02:00
bjorn3
b2fed29e1a Update Cranelift 2021-10-12 14:47:57 +02:00
bjorn3
eded369086 Update Cranelift
This version no longer has the old x86 backend
2021-10-01 15:37:48 +02:00
bjorn3
bc61fb263d Update dependencies 2021-09-30 15:22:19 +02:00
bjorn3
166ff1332f Update Cranelift 2021-09-30 15:17:43 +02:00
bjorn3
5d3b8e7c1b Merge commit '61667dedf55e3e5aa584f7ae2bd0471336b92ce9' into sync_cg_clif-2021-09-19 2021-09-19 13:56:58 +02:00
bjorn3
98f45afd64 Update Cranelift 2021-08-07 11:09:03 +02:00
bjorn3
d220159810 Merge commit '05677b6bd6c938ed760835d9b1f6514992654ae3' into sync_cg_clif-2021-08-06 2021-08-06 16:26:56 +02:00
bjorn3
bcf532ce1d Update dependencies 2021-07-27 12:54:58 +02:00
bjorn3
c2464ebeb0 Update Cranelift, gimli and object 2021-07-27 12:42:16 +02:00
bjorn3
17eaf432b7 Update Cranelift 2021-07-17 14:34:58 +02:00
bjorn3
e7a4323674 Remove explicit branch="main" form Cargo.toml 2021-07-13 21:32:28 +02:00
bjorn3
fb92375755 Merge commit '3a31c6d8272c14388a34622193baf553636fe470' into sync_cg_clif-2021-07-07 2021-07-07 11:14:20 +02:00
bjorn3
ac730b4464 Update Cranelift
This has a fix for a miscompilation on AArch64

cc #1184
2021-07-04 12:37:00 +02:00
bjorn3
751ae51044 Update Cranelift 2021-07-03 14:41:33 +02:00
bjorn3
dd1419a1c4 Update Cranelift and object
This adds AArch64 support for unixes using ELF object files like Linux
2021-07-02 12:16:22 +02:00
bjorn3
4492f32d15 Update Cranelift and object 2021-06-10 12:17:42 +02:00
bjorn3
d6b03451e6 Merge commit '40dd3e2b7089b5e96714e064b731f6dbf17c61a9' into sync_cg_clif-2021-05-27 2021-05-27 13:08:14 +02:00
bjorn3
2f9ca10b1d Update Cranelift, object and gimli 2021-05-24 16:06:54 +02:00
bjorn3
328f06718a Update Cranelift 2021-05-16 10:45:18 +02:00
bjorn3
459a51906d Update Cranelift 2021-05-10 13:13:52 +02:00
bjorn3
8794d07081 Avoid trailing / in git path for Wasmtime
Git seems to not be able to handle it in some cases. Thanks to @vramana
for reporting this on Zulip.
2021-05-07 12:58:54 +02:00
bjorn3
fea01cfaaa Update Cranelift
This removes all the byteorder and thiserror dependencies. This results
in no proc macros being necessary anymore.
2021-05-04 18:54:22 +02:00
Erin Power
ee570b1302 Sync rustc_codegen_cranelift 'ddd4ce25535cf71203ba3700896131ce55fde795' 2021-04-30 14:49:58 +02:00
Muhammad Mominul Huque
8eb96b8517 Handle native target-cpu variant
and raise fatal error if the specified target cpu is not supported
2021-04-23 19:55:52 +06:00
bjorn3
b6f7e71c1d Update Cranelift 2021-04-14 10:37:14 +02:00
bjorn3
6e799438b7 Add an Mmap wrapper to rustc_data_structures
This wrapper implements StableAddress and falls back to directly reading
the file on wasm32
2021-03-30 18:57:03 +02:00
bjorn3
07968a001d Merge commit '0969bc6dde001e01e7e1f58c8ccd7750f8a49ae1' into sync_cg_clif-2021-03-29 2021-03-29 10:45:09 +02:00
bjorn3
27886cd6b6 Merge commit '9a0c32934ebe376128230aa8da3275697b2053e7' into sync_cg_clif-2021-03-05 2021-03-05 19:12:59 +01:00
bjorn3
a75f9bc3be Merge commit 'd556c56f792756dd7cfec742b9f2e07612dc10f4' into sync_cg_clif-2021-02-01 2021-02-01 10:11:46 +01:00
bjorn3
77f74ed070 Merge commit 'dbee13661efa269cb4cd57bb4c6b99a19732b484' into sync_cg_clif-2020-12-27 2020-12-27 10:30:38 +01:00
bjorn3
d404840788 Merge commit '5988bbd24aa87732bfa1d111ba00bcdaa22c481a' into sync_cg_clif-2020-11-27 2020-11-27 20:48:53 +01:00