bjorn3
1b6706c924
Call cg_ssa::base::provide_both in provide{,_extern}
2019-09-28 17:01:17 +02:00
bjorn3
0db605040e
Use CallConv::triple_default instead of hard coding SystemV
...
Fixes #718
2019-09-28 17:00:27 +02:00
bjorn3
44792f1089
Rustup to rustc 1.40.0-nightly (084beb83e 2019-09-27)
2019-09-28 14:06:12 +02:00
bjorn3
a1bf96f630
Wrap linker invocation in time()
2019-09-22 16:21:00 +02:00
bjorn3
dbeca50901
Misc cleanup
2019-09-22 16:05:22 +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
Atul Bhosale
f481a4b685
Format code using 'cargo fmt'
2019-08-31 22:58:09 +05:30
bjorn3
d9d8c69af1
Split extract layout field of all CPlace variants into a sparate struct
2019-08-29 11:23:19 +02:00
bjorn3
2a20cc0b94
Use anonymous lifetimes where possible
2019-08-18 16:52:07 +02:00
bjorn3
32cb5b8c8e
Move discriminant get and set to discriminant.rs
2019-08-14 12:01:41 +02:00
bjorn3
883894a07a
Move trans_*_binop to num.rs
2019-08-14 11:52:39 +02:00
bjorn3
11b2b86b08
Fix some rustc tests
...
* Check for `#[rustc_error]` attribute.
* Use the same weak static type error message as cg_llvm
2019-08-13 19:42:16 +02:00
bjorn3
f02d135057
Print error for #[rustc_def_path] like expected
2019-08-13 19:39:46 +02:00
bjorn3
9041db962d
Fix it
2019-08-11 17:06:18 +02:00
bjorn3
fb3fa677fa
Call assert_module_sources
2019-08-04 13:42:03 +02:00
bjorn3
b806070a88
Fix simd_cast
2019-07-31 09:46:05 +02:00
bjorn3
1a26891170
Replace llvm intrinsics with runtime trap
2019-07-29 11:03:55 +02:00
bjorn3
bdf23c0201
Don't set opt_level to best
...
LICM is still broken
2019-07-27 16:12:48 +02:00
bjorn3
fe20f8cba6
Rustup to rustc 1.38.0-nightly (c43753f91 2019-07-26)
2019-07-27 11:35:46 +02:00
bjorn3
0a833ba8a1
[WIP]
2019-07-26 11:32:04 +02:00
bjorn3
5180becc7c
Fix 128bit CValue::const_val
2019-07-26 11:30:39 +02:00
bjorn3
641a210ff6
Implement most 128bit binops
2019-07-26 11:29:35 +02:00
bjorn3
8c2577c747
Don't disable stdsimd anymore
...
This doesn't enable simd support. Actually using the functions will
result in a compilation error.
2019-07-20 15:33:57 +02:00
bjorn3
d0db8f0cac
Rustup
2019-07-08 09:54:18 +02:00
bjorn3
c2e6822342
Rustup to rustc 1.37.0-nightly (0beb2ba16 2019-07-02)
...
Also removes some unnecessary errors.
2019-07-03 16:49:47 +02:00
bjorn3
4d406cdcad
Rustup to rustc 1.37.0-nightly (0dc9e9c10 2019-06-15)
2019-06-16 11:13:49 +02:00
bjorn3
6d1bc088a7
Rustup to rustc 1.37.0-nightly (2887008e0 2019-06-12)
2019-06-13 20:44:40 +02:00
bjorn3
e8c50cf2c2
Read and write dylib metadata
2019-06-11 16:45:14 +02:00
bjorn3
466ecad2f0
Move CValue and CPlace to separate file and remove duplicate scalar_to_clif_type
2019-06-11 15:43:22 +02:00
bjorn3
161c8aa5cf
Rustup to rustc 1.37.0-nightly (7cdaffd79 2019-06-05)
2019-06-06 20:31:09 +02:00
bjorn3
b625e56488
Rustup to rustc 1.37.0-nightly (3ade426ed 2019-05-30)
2019-05-31 10:56:55 +02:00
bjorn3
d078fde07a
Rustup to rustc 1.36.0-nightly (dec4c5201 2019-05-24)
2019-05-25 12:30:21 +02: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
bb7a990ee7
Extract driver.rs
2019-05-04 16:54:25 +02:00
bjorn3
98dae86d21
Update cranelift
2019-05-04 16:15:20 +02:00
bjorn3
8598a34e45
Rustup to rustc 1.36.0-nightly (a3404557c 2019-05-03)
2019-05-04 14:57:41 +02:00
bjorn3
11d816cce5
Rustup to rustc 1.36.0-nightly (597f43248 2019-04-26)
2019-04-27 17:44:12 +02:00
bjorn3
f096ad14a3
Change module names back
2019-04-24 20:54:01 +02:00
bjorn3
e8db15f662
Fix filename length for ar files
2019-04-24 19:00:21 +02:00
bjorn3
472b591f90
Use rustc_codegen_ssa: 🔙 :link instead of copy pasted version
2019-04-24 19:00:21 +02:00
bjorn3
de792ad690
Rustup to rustc 1.35.0-nightly (aa99abeb2 2019-04-14)
2019-04-15 16:34:16 +02:00
bjorn3
d9403bf3fd
Implement weak linkage for statics
2019-03-11 20:36:29 +01:00
bjorn3
bfe8c89d41
Remove "Saved incremental data" warning
2019-03-11 20:06:23 +01:00
bjorn3
27e9cfc79f
Rustup to rustc 1.35.0-nightly (9d71ec135 2019-03-10)
2019-03-11 20:02:47 +01:00
bjorn3
6c88af3438
Rustup to rustc 1.34.0-nightly (7e001e5c6 2019-02-27)
2019-02-28 10:55:21 +01:00
bjorn3
f02490d960
Rustfmt
2019-02-21 15:06:09 +01:00
bjorn3
b4eff78a9e
Pass command-line arguments to JITed function
...
Cherry-picked from f1f35405e15ca1b77425514b04b96b2749231899 by
@milkey-mouse
2019-02-18 18:53:18 +01:00
bjorn3
4bb8bfca94
Disable macOS debuginfo and on all platforms optimizations
2019-02-11 19:11:55 +01:00
bjorn3
a272efa030
Fix alloc_example
2019-02-11 15:29:46 +01:00
bjorn3
09c4569c87
Implement line debuginfo
2019-01-26 11:59:57 +01:00