bjorn3
8748e37d35
Remove LibSource
...
The information is stored in used_crate_source too anyway
2021-07-05 10:49:07 +02:00
bjorn3
e30490d5b2
Move crate_name field from OngoingCodegen to CrateInfo
2021-06-04 13:20:05 +02:00
bjorn3
96247017fa
Move windows_subsystem field from CodegenResults to CrateInfo
2021-06-04 13:20:04 +02:00
bjorn3
fa702d0d2b
Merge commit ' 40dd3e2b70' into sync_cg_clif-2021-05-27
2021-05-27 13:08:14 +02:00
bors
3396a383bb
Auto merge of #85178 - cjgillot:local-crate, r=oli-obk
...
Remove CrateNum parameter for queries that only work on local crate
The pervasive `CrateNum` parameter is a remnant of the multi-crate rustc idea.
Using `()` as query key in those cases avoids having to worry about the validity of the query key.
2021-05-17 01:42:03 +00:00
Amanieu d'Antras
5918ee4317
Add support for const operands and options to global_asm!
...
On x86, the default syntax is also switched to Intel to match asm!
2021-05-13 22:31:57 +01:00
Camille GILLOT
0bde3b1f80
Use () for codegen queries.
2021-05-12 13:58:46 +02:00
Camille GILLOT
85a14d70bb
Use () in dependency_formats.
2021-05-12 13:58:41 +02:00
bors
ac923d94f8
Auto merge of #83610 - bjorn3:driver_cleanup, r=cjgillot
...
rustc_driver cleanup
Best reviewed one commit at a time.
2021-05-12 08:38:03 +00:00
bjorn3
808090eb07
Pass target_cpu to LinkerInfo::new instead of link_binary
...
This is one step towards separating the linking code from codegen backends
2021-05-02 18:00:20 +02:00
Erin Power
9d07b92990
[cg_clif] Fix run_jit from sync
2021-04-30 15:37:19 +02:00
Erin Power
505aa48f24
Sync rustc_codegen_cranelift ' ddd4ce2553'
2021-04-30 14:49:58 +02:00
Charles Lew
d261df4a72
Implement RFC 1260 with feature_name imported_main.
2021-04-29 08:35:08 +08:00
bjorn3
5444b46234
Merge commit ' 0969bc6dde' into sync_cg_clif-2021-03-29
2021-03-29 10:45:09 +02:00
bjorn3
7a6ea77473
Merge commit ' 9a0c32934e' into sync_cg_clif-2021-03-05
2021-03-05 19:12:59 +01:00
Camille GILLOT
b27266fdb2
Use a QueryContext for try_mark_green.
2021-02-19 17:51:56 +01:00
Camille GILLOT
bd3cd5dbed
Use an ItemId inside mir::GlobalAsm.
2021-02-15 19:24:58 +01:00
bjorn3
27855331e8
Merge commit ' d556c56f79' into sync_cg_clif-2021-02-01
2021-02-01 10:11:46 +01:00
bjorn3
52cf01c815
Merge commit ' dbee13661e' into sync_cg_clif-2020-12-27
2020-12-27 10:30:38 +01:00
David Wood
6c4350dc17
cg_clif: fix build with split dwarf
...
This commit makes minor changes to the cranelift backend so that it can
build given changes in cg_ssa for Split DWARF.
Signed-off-by: David Wood <david@davidtw.co>
2020-12-16 10:33:48 +00:00
bjorn3
477aa67802
Merge commit ' 5988bbd24a' into sync_cg_clif-2020-11-27
2020-11-27 20:48:53 +01:00
Vadim Petrochenkov
bf66988aa1
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
216c4ae463
Merge commit ' 03f01bbe90' into update_cg_clif-2020-11-01
2020-11-03 11:00:04 +01:00
bjorn3
ac4f7deb2f
Add 'compiler/rustc_codegen_cranelift/' from commit ' 793d26047f'
...
git-subtree-dir: compiler/rustc_codegen_cranelift
git-subtree-mainline: cf798c1ec6
git-subtree-split: 793d26047f
2020-10-26 09:53:27 +01:00