bjorn3
d6b03451e6
Merge commit '40dd3e2b7089b5e96714e064b731f6dbf17c61a9' into sync_cg_clif-2021-05-27
2021-05-27 13:08:14 +02:00
Erin Power
ee570b1302
Sync rustc_codegen_cranelift 'ddd4ce25535cf71203ba3700896131ce55fde795'
2021-04-30 14:49:58 +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
bjorn3
0a5968dfd2
Use the new cranelift-module interface
...
This updates Cranelift to include bytecodealliance/wasmtime#2249
2020-10-08 19:00:21 +02:00
bjorn3
bcb0862703
Enable incr comp for release mode in Cargo.toml
2020-09-29 13:17:01 +02:00
bjorn3
1add4323cf
Update Cranelift
2020-09-21 19:23:39 +02:00
bjorn3
a18a1948e0
Remove wasmparser dependency through object
2020-09-16 17:17:57 +02:00
bjorn3
b8bbbe38d1
Remove cfg-if dependency
2020-09-16 16:57:52 +02:00
bjorn3
55d4afd2ba
Remove byteorder dependency
2020-09-16 16:54:58 +02:00
bjorn3
044470a726
Remove hashbrown usage
...
drain_filter is now supported on nightly
2020-09-15 21:00:04 +02:00
bjorn3
4bb25c3e4a
Fix dylib metadata writing
...
Rustc switched from flate2 to snappy
2020-09-05 11:00:34 +02:00
bjorn3
217b3818b7
Rustup to rustc 1.48.0-nightly ( c59199efc
2020-09-04)
2020-09-05 10:38:49 +02:00
Matt Brubeck
bd2313fc11
Update to hashbrown 0.9
2020-09-03 15:38:57 -07:00
CohenArthur
cb386896ee
stack2reg: Switch to hashbrown::HashSet
2020-08-23 21:44:00 +02:00
bjorn3
02b7cdc316
Update Cranelift and object
2020-08-20 15:21:26 +02:00
bjorn3
847cc7ab2a
Disable the inline asm support using a feature flag
2020-08-15 14:19:23 +02:00
bjorn3
748d516e0d
Use builtin ranlib instead of running external ranlib
...
This makes it possible to create rlibs for any target without installing
a toolchain for the target
Fixes #763
2020-07-15 16:28:21 +02:00
bjorn3
8dfb1daea7
Update dependencies
2020-07-13 19:41:52 +02:00
bjorn3
ac77371852
Add a feature flag for the JIT
2020-07-09 14:23:00 +02:00
bjorn3
bc966492c2
Update Cranelift
2020-07-02 21:58:11 +02:00
bjorn3
5262fec06d
Update Cranelift
2020-06-30 18:48:26 +02:00
bjorn3
d471c1b521
Update Cranelift
2020-06-16 10:38:12 +02:00
bjorn3
bc555764bd
Update Cranelift
2020-06-05 12:40:33 +02:00
bjorn3
020bcb31db
Register frame table in JIT mode
2020-05-01 20:58:27 +02:00
bjorn3
e7661d49c3
Implement .eh_frame writing
2020-04-25 18:23:31 +02:00
dependabot-preview[bot]
8de9fbb752
Bump libloading from 0.5.2 to 0.6.0 ( #957 )
...
Bumps [libloading](https://github.com/nagisa/rust_libloading ) from 0.5.2 to 0.6.0.
- [Release notes](https://github.com/nagisa/rust_libloading/releases )
- [Commits](https://github.com/nagisa/rust_libloading/compare/0.5.2...0.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-06 11:09:01 +02:00
bjorn3
5c9b9305b7
Update Cranelift and object
2020-03-24 13:17:03 +01:00
bjorn3
63f22397ae
Fix Cranelift patch paths
2020-03-08 12:25:11 +01:00
bjorn3
dc1165300d
Update for the merge of Cranelift into Wasmtime
2020-02-29 14:24:29 +01:00
bjorn3
24fd604540
Update Cranelift
...
As basic blocks now work, they are enabled.
2020-01-22 18:04:11 +01:00
bjorn3
4fbb45c3f3
Update gimli to 0.20.0
2020-01-14 14:19:43 +01:00
bjorn3
3311c1f7fe
Remove some depencencies
2020-01-14 14:16:06 +01:00
bjorn3
9dad9cf88d
Improve build time for build scripts in release mode
2020-01-10 14:21:45 +01:00
bjorn3
d65ba25ba7
Remove faerie support
2020-01-10 13:30:21 +01:00
bjorn3
2bd7dcd2c0
Update Cranelift
2020-01-10 13:28:31 +01:00
bjorn3
72729e2211
Disable read feature of gimli
2020-01-09 17:59:59 +01:00
bjorn3
399cada762
Directly depend on cranelift_{codegen,frontend}
...
Fixes #838
2019-12-24 12:43:20 +01:00
bjorn3
0cbcccf4c1
Update Cranelift
2019-12-08 11:51:18 +01:00
bjorn3
c6086a8fd7
Rustup to rustc 1.41.0-nightly ( 6d77e45f0
2019-12-04)
2019-12-05 21:00:57 +01:00
bjorn3
7a27ded57f
Enable object backend by default
2019-11-23 15:06:23 +01:00
bjorn3
1f8a646592
Update cranelift and update git url for move to bytecodealliance
...
Fixes #796
2019-11-14 21:32:18 +01:00
bjorn3
ff7507e014
Update Cranelift and faerie
2019-11-11 20:39:47 +01:00
bjorn3
bef2d8836f
Fix backend_object build
2019-11-09 15:50:48 +01:00
bjorn3
74ea53f1fb
Update cranelift
2019-11-06 20:48:29 +01:00
bjorn3
62d1082190
Update cranelift and object
2019-11-01 20:08:42 +01:00
bjorn3
40178f6d3c
Changes for gimli-rs/object#133
2019-10-25 22:01:31 +02:00
bjorn3
8536514308
Rustup to rustc 1.40.0-nightly ( 10a52c25c
2019-10-24)
2019-10-25 21:41:24 +02:00
bjorn3
bb5cefe838
Test object::write backend on travis
2019-10-19 10:56:35 +02:00
bjorn3
0471ed2776
Add support for object::write
2019-10-18 18:31:38 +02:00
bjorn3
f9ff604d96
Make dylib metadata write backend agnostic
2019-10-18 18:31:38 +02:00
bjorn3
82fde5b622
Remove bitflags dependency
2019-10-06 17:52:23 +02:00
bjorn3
8cee28db3e
Switch back to crates.io version of gimli
...
Fixes #727
2019-10-03 18:54:30 +02:00
bjorn3
3a7aa6c0fa
Reduce time required to build from scratch in dev mode
...
* Disable wasm reading of object
* Use tempfile bundled with rustc
* Don't optimize and don't generate debuginfo for build scripts and some
build deps
Before: 354s (5m 45s)
After: 207s (3m 27s)
2019-09-21 14:27:45 +02:00
bjorn3
3ee184f2aa
Update object to 0.14.0
2019-09-13 20:44:48 +02:00
bjorn3
48da36d7a8
Update dependencies
2019-09-12 20:22:02 +02:00
bjorn3
ce0be229d7
Use upstream cranelift
2019-09-08 19:18:17 +02:00
bjorn3
cd0e862282
Update ar
...
Fixes #672
2019-09-01 11:17:01 +02:00
bjorn3
02b68aa747
Update dependencies
...
The faerie update fixes macOS build (m4b/faerie#90 )
2019-08-22 12:37:24 +02:00
bjorn3
2facd8e7ff
Only build dylib
...
This saves ~200mb of space
2019-08-13 19:46:16 +02:00
bjorn3
3000a3f63d
[WIP] Implement dylib loading for the JIT
2019-08-10 16:50:23 +02:00
bjorn3
770c12ac97
Use own branch of clif instead of local checkout
2019-07-26 12:02:51 +02:00
bjorn3
de32ddad23
[WIP] Basic i128 support
2019-07-26 11:28:04 +02:00
bjorn3
07bb89a02d
Fix it
2019-06-11 16:57:59 +02:00
bjorn3
aa48c1482a
[WIP]
2019-06-11 16:46:36 +02:00
bjorn3
4ade746333
[WIP] Add section symbol for mach-O
2019-06-11 16:45:15 +02:00
bjorn3
8dae241368
[WIP] Use correct segment for metadata section
2019-06-11 16:45:14 +02:00
bjorn3
e8c50cf2c2
Read and write dylib metadata
2019-06-11 16:45:14 +02:00
dependabot-preview[bot]
a91625bdbb
Bump bitflags from 1.0.4 to 1.1.0
...
Bumps [bitflags](https://github.com/bitflags/bitflags ) from 1.0.4 to 1.1.0.
- [Release notes](https://github.com/bitflags/bitflags/releases )
- [Changelog](https://github.com/bitflags/bitflags/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bitflags/bitflags/compare/1.0.4...1.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-08 07:43:58 +00:00
bjorn3
0046ce4c85
Partial support for wasm32-unknown-wasi as host triple
...
This needs a rustc compiled for wasi (see rust-lang/miri#722 )
It also needs CraneStation/target-lexicon#14
2019-05-11 12:23:40 +02:00
bjorn3
80fc7b569c
Use crates.io version of ar again
2019-05-04 16:23:53 +02:00
dependabot[bot]
8fa92b8bb4
Bump libc from 0.2.51 to 0.2.53 ( #508 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.51 to 0.2.53.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.51...0.2.53 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-01 13:13:31 +02:00
bjorn3
7ab8dda160
Fix gnu archives
2019-04-24 20:50:23 +02:00
bjorn3
103f2faa1a
[WIP] Try using GnuBuilder
2019-04-24 19:00:21 +02:00
bjorn3
085944875e
Update cranelift, faerie and target-lexicon
2019-04-05 19:42:23 +02:00
bjorn3
14d66b279c
Update cranelift, faerie and target-lexicon
2019-03-08 17:55:51 +01:00
dependabot[bot]
8a9cadcd4c
Bump libc from 0.2.49 to 0.2.50 ( #400 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.49 to 0.2.50.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.49...0.2.50 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-06 14:32:11 +01:00
bjorn3
be377f9eb2
Fix cranelift patch paths
2019-03-02 20:25:08 +01:00
dependabot[bot]
6384b12604
Bump libc from 0.2.48 to 0.2.49
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.48 to 0.2.49.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.48...0.2.49 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-27 09:35:15 +00:00
dependabot[bot]
edb6488bcb
Bump tempfile from 3.0.5 to 3.0.7
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.0.5 to 3.0.7.
- [Release notes](https://github.com/Stebalien/tempfile/releases )
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.0.5...v3.0.7 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-18 08:42:27 +00:00
bjorn3
a12eef4d86
Use IndexSet and keep full source info in set_debug_loc
2019-01-26 11:59:57 +01:00
bjorn3
8bddc783e0
Update gimli
2019-01-26 11:59:57 +01:00
bjorn3
09c4569c87
Implement line debuginfo
2019-01-26 11:59:57 +01:00
bjorn3
33a9cdfe85
Update Cargo.lock
2019-01-02 11:55:02 +01:00
bjorn3
8f2ca706c2
Setup env_logger
2018-12-29 12:04:35 +01:00
dependabot[bot]
0fbab055d4
Bump libc from 0.2.44 to 0.2.45
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.44 to 0.2.45.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.44...0.2.45 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-11 10:45:03 +00:00
bjorn3
f4ae9a4dbb
Rustup to rustc 1.32.0-nightly ( 1f57e4841
2018-11-23)
2018-11-24 11:23:49 +01:00
dependabot[bot]
77784aa0de
Bump ar from 0.6.0 to 0.6.1
...
Bumps [ar](https://github.com/mdsteele/rust-ar ) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/mdsteele/rust-ar/releases )
- [Commits](https://github.com/mdsteele/rust-ar/compare/v0.6.0...v0.6.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-14 13:34:34 +00:00
bjorn3
640d66c777
Call linker from cg_clif
2018-11-11 11:40:31 +01:00
bjorn3
e1fc9a56d9
Update dependencies
2018-11-09 18:03:47 +01:00
bjorn3
3965a65a79
Optimize all dependencies in debug mode
2018-09-30 10:35:44 +02:00
bjorn3
5b721a2940
Rustup to rustc 1.30.0-nightly ( 4591a245c
2018-09-22)
2018-09-23 10:16:26 +02:00
bjorn3
663533fec3
Patch faerie for Mach-O support
2018-09-22 11:14:45 +02:00
bjorn3
6e87a4f16d
Rustup to rustc 1.30.0-nightly ( 2ab3eba30
2018-09-14)
2018-09-15 10:44:23 +02:00
bjorn3
6196146ac4
Implement trait objects (cc #14 )
2018-09-08 18:00:06 +02:00
bjorn3
d549d0f180
Update Cargo.lock
2018-09-05 19:43:42 +02:00