Vadim Petrochenkov
e9c34b3cf8
Collapse all uses of target.options.foo
into target.foo
...
with an eye on merging `TargetOptions` into `Target`.
`TargetOptions` as a separate structure is mostly an implementation detail of `Target` construction, all its fields logically belong to `Target` and available from `Target` through `Deref` impls.
2020-11-08 17:29:13 +03:00
bjorn3
4971028775
Rustup to rustc 1.49.0-nightly ( dd7fc54eb
2020-10-15)
2020-10-16 09:35:48 +02:00
bjorn3
a233646dfc
Rustup to rustc 1.49.0-nightly ( e160e5cb8
2020-10-14)
2020-10-15 10:34:13 +02: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
838dd17a67
Don't read CG_CLIF_JIT from init_global_lock
...
In preparation to moving away from an env var
2020-09-29 18:12:23 +02:00
bjorn3
c8699076f9
Document almost all modules
...
Fixes #1082
2020-09-23 15:13:49 +02:00
CohenArthur
4e685a512e
fmt: Run cargo fmt since it is available
2020-08-28 12:10:48 +02:00
bjorn3
847cc7ab2a
Disable the inline asm support using a feature flag
2020-08-15 14:19:23 +02:00
bjorn3
240e178532
Don't panic on io errors
...
Fixes #920
2020-08-08 16:14:11 +02:00
bjorn3
34823a7e4c
Rustup to rustc 1.46.0-nightly ( 5c9e5df3a
2020-07-16)
2020-07-17 19:15:33 +02:00
bjorn3
ccfd1b9334
Initialize the atomic mutex in a constructor for proc macros
2020-07-16 14:58:41 +02:00
bjorn3
726e329f46
Add basic inline asm support for x86_64
2020-07-10 21:34:26 +02:00
bjorn3
35701d8caa
Move global_asm into CodegenCx
2020-07-09 19:24:53 +02:00
bjorn3
8cf38181ad
Disable global_asm! on macOS for now
2020-07-09 18:56:17 +02:00
bjorn3
893497c93e
Infer the path of toolchain binaries from the linker path
2020-07-09 18:55:46 +02:00
bjorn3
037d411bf4
Implement global_asm! using an external assembler
...
Fixes #1061
2020-07-09 17:02:09 +02:00
bjorn3
eb8fd197ab
Prelude cleanup
2020-06-20 18:44:49 +02:00
bjorn3
16b5dac463
Remove all non-tcx references from CodegenCx
2020-06-12 21:15:13 +02:00
bjorn3
ba7cdf21be
Emit unwind info for main and alloc shim
...
Fixes #988
2020-06-12 19:31:35 +02:00
bjorn3
bcd357a0ae
Rustup to rustc 1.45.0-nightly ( 46e85b432
2020-05-24)
2020-05-25 12:41:33 +02:00
bjorn3
c7e0dde38a
Rustup to rustc 1.45.0-nightly ( 7ebd87a7a
2020-05-08)
2020-05-09 14:14:45 +02:00
bjorn3
4da6488d95
Always emit .eh_frame section
2020-05-01 19:21:29 +02:00
bjorn3
485e52e153
Rustup to rustc 1.45.0-nightly ( 7ced01a73
2020-04-30)
2020-05-01 17:51:51 +02:00
bjorn3
e7661d49c3
Implement .eh_frame writing
2020-04-25 18:23:31 +02:00
bjorn3
e64a7ebcb0
Implement check mode
...
Fixes #973
2020-04-18 21:13:09 +02:00
bjorn3
291c75d10b
Enable the rust_2018_idioms and unused_lifetimes lints and fix all warnings
...
They are set to deny by default in the rust-lang/rust repo
2020-04-09 12:12:55 +02:00
bjorn3
13e3a3c8b0
Rustup to rustc 1.44.0-nightly ( 211365947
2020-03-30)
2020-03-31 13:20:19 +02:00
bjorn3
3c9ebdb194
Rustup to rustc 1.44.0-nightly ( 1edd389cc
2020-03-23)
2020-03-24 13:09:44 +01:00
bjorn3
b469bf3b08
Refactor driver/aot.rs
...
Fixes #917
2020-03-12 11:58:59 +01:00
bjorn3
933ef94f63
Move aot code to driver/aot.rs
2020-03-12 11:48:17 +01:00