Commit Graph

160 Commits

Author SHA1 Message Date
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
bjorn3
43a94ffdf8 Add comment about how to use local cranelift checkout 2018-08-13 21:39:18 +02:00
bjorn3
f4e622cedc Add basic ssa analyzer 2018-08-09 10:46:56 +02:00
bjorn3
8f602e7e7c Use upstream cranelift cargo git dependency instead of my submodule 2018-08-03 17:44:32 +02:00
bjorn3
37b61e0ca6 Rustup to rustc 1.29.0-nightly (866a71325 2018-07-29) 2018-07-30 16:57:40 +02:00
bjorn3
ae44a1a172 Add support for metadata loading 2018-07-24 14:10:53 +02:00
bjorn3
eb077f67ac Support metadata writing 2018-07-23 11:17:39 +02:00
bjorn3
ee45f7d6bc Add cranelift submodule 2018-07-15 20:30:03 +02:00
bjorn3
92b14263a4 Update to cranelift 0.14 2018-07-14 12:04:15 +02:00
bjorn3
9d40131d81 Add cretonne_module 2018-06-19 19:51:29 +02:00
bjorn3
4d615dba0e Initial commit 2018-06-17 18:05:11 +02:00