bjorn3
18c6fe5798
Remove the source archive functionality of ArchiveWriter
...
We now build archives through strictly additive means rather than taking
an existing archive and potentially substracting parts.
2022-06-19 12:56:31 +00:00
bjorn3
7ff0df5102
Fix "Remove src_files and remove_file"
2022-06-19 12:56:31 +00:00
bjorn3
43929a8a75
Remove src_files and remove_file
...
They only apply to the main source archive and their role can be
fulfilled through the skip argument of add_archive too.
2022-06-14 15:11:14 +00:00
bjorn3
609784711a
Unconditionally update symbols
...
All paths to an ArchiveBuilder::build call update_symbols first.
2022-02-10 18:27:18 +01:00
bjorn3
3426a730ff
Merge commit ' 97e5045493
' into sync_cg_clif-2021-12-20
2021-12-20 18:56:35 +01:00
Camille GILLOT
8961616e60
Move rustc_middle::middle::cstore to rustc_session.
2021-10-03 16:08:51 +02:00
bjorn3
86f9bcfb8e
Merge commit ' 61667dedf5
' into sync_cg_clif-2021-09-19
2021-09-19 13:56:58 +02:00
bjorn3
977f279553
Move add_rlib and add_native_library to cg_ssa
...
This deduplicates logic between codegen backends
2021-09-01 14:43:27 +02:00
Richard Cobbe
6aa45b71b1
Add first cut of functionality for #58713 : support for #[link(kind = "raw-dylib")].
...
This does not yet support #[link_name] attributes on functions, the #[link_ordinal]
attribute, #[link(kind = "raw-dylib")] on extern blocks in bin crates, or
stdcall functions on 32-bit x86.
2021-06-04 18:01:35 -07:00
bjorn3
fa702d0d2b
Merge commit ' 40dd3e2b70
' into sync_cg_clif-2021-05-27
2021-05-27 13:08:14 +02:00
Luqman Aden
db555e1284
Implement RFC 2951: Native link modifiers
...
This commit implements both the native linking modifiers infrastructure
as well as an initial attempt at the individual modifiers from the RFC.
It also introduces a feature flag for the general syntax along with
individual feature flags for each modifier.
2021-05-05 16:04:25 -07:00
bjorn3
7a6ea77473
Merge commit ' 9a0c32934e
' into sync_cg_clif-2021-03-05
2021-03-05 19:12:59 +01: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