| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-05-01 | Auto merge of #71623 - petrochenkov:localink, r=estebank | bors | -4/+0 | |
| Disable localization for all linkers We previously disabled non-English output from `link.exe` due to encoding issues (#35785). In https://github.com/rust-lang/rust/pull/70740 it was pointed out that it also prevents correct inspection of the linker output, which we have to do occasionally. So this PR disables localization for all linkers. | ||||
| 2020-04-27 | Disable localization for all linkers | Vadim Petrochenkov | -4/+0 | |
| 2020-04-26 | rustc_target: Stop using "string typing" for TLS models | Vadim Petrochenkov | -11/+61 | |
| Introduce `enum TlsModel` instead. | ||||
| 2020-04-26 | rustc_target: Stop using "string typing" for relocation models | Vadim Petrochenkov | -42/+103 | |
| Introduce `enum RelocModel` instead. | ||||
| 2020-04-24 | Avoid unused Option::map results | Josh Stone | -18/+19 | |
| These are changes that would be needed if we add `#[must_use]` to `Option::map`, per #71484. | ||||
| 2020-04-16 | rustc_target::abi: add Primitive variant to FieldsShape. | Ana-Maria Mihalache | -9/+29 | |
| 2020-04-16 | Rollup merge of #71145 - pfmooney:illumos-triple, r=nagisa | Dylan DPC | -0/+75 | |
| Add illumos triple This fixes rust-lang/rust#55553 and adds support for `illumos` as a `target_os` on `x86_64`. In addition to the compile spec and libstd additions, several library dependencies have been bumped in order to permit working builds of cargo and rustup for the new target. Work originally started by @jasonbking, with subsequent additions by @pfmooney and @jclulow. | ||||
| 2020-04-14 | Add illumos triple | Patrick Mooney | -0/+75 | |
| Co-Authored-By: Jason King <jason.brian.king@gmail.com> Co-Authored-By: Joshua M. Clulow <jmc@oxide.computer> | ||||
| 2020-04-13 | Address review comments | Vadim Petrochenkov | -4/+1 | |
| 2020-04-13 | rustc_target: Introduce `msvc_base` | Vadim Petrochenkov | -48/+59 | |
| and inherit both `windows_msvc_base` and `uefi_msvc_base` from it. | ||||
| 2020-04-13 | rustc_target: Inherit `windows_uwp_gnu_base` from `windows_gnu_base` | Vadim Petrochenkov | -21/+13 | |
| 2020-04-13 | rustc_target: Inherit `windows_uwp_msvc_base` from `windows_msvc_base` | Vadim Petrochenkov | -41/+9 | |
| 2020-04-13 | rustc_target: Remove some useless imports | Vadim Petrochenkov | -25/+0 | |
| 2020-04-13 | rustc_target: `windows(_uwp)_base` -> `windows(_uwp)_gnu_base` | Vadim Petrochenkov | -9/+9 | |
| The old naming is from ancient times when there was no MSVC support. Also `uefi_base` -> `uefi_msvc_base`. It will inherit from `msvc_base` in a future commit, plus a GNU UEFI target is also potentially possible. | ||||
| 2020-04-13 | linker: Pass `/NODEFAULTLIB` in a more regular way | Vadim Petrochenkov | -3/+20 | |
| 2020-04-13 | rustc_target: Move tests into a separate unconfigured file | Vadim Petrochenkov | -43/+48 | |
| as much as possible. | ||||
| 2020-04-13 | rustc_target: Make sure lld-link is treated as link.exe by default | Vadim Petrochenkov | -62/+102 | |
| The differences if they are discovered will need to be explicitly documented | ||||
| 2020-04-13 | Auto merge of #71023 - mati865:mingw-unwind-linking-cleanup, r=Amanieu | bors | -2/+2 | |
| [windows] Add testscase for self-contained executables and fix pthread linking Fixes https://github.com/rust-lang/rust/issues/71061 | ||||
| 2020-04-12 | [windows-gnu] Link pthread statically | Mateusz Mikuła | -2/+2 | |
| 2020-04-09 | Fix staticlib name for *-pc-windows-gnu targets | Mateusz Mikuła | -2/+2 | |
| 2020-04-06 | Rollup merge of #70704 - ↵ | Mazdak Farrokhzad | -8/+2 | |
| danielframpton:aarch64-windows-panic-unwind-default, r=alexcrichton Make panic unwind the default for aarch64-*-windows-msvc targets With the llvm fixes from rust-lang/llvm-project#45 (included as a submodule change) we can enable unwinding by default for these targets. Fixes #65313 There are still a small number of test failures for which we can open individual issues. r? @alexcrichton | ||||
| 2020-04-04 | rustc_target: Rely on default value of `no_default_libraries` more | Vadim Petrochenkov | -4/+0 | |
| 2020-04-03 | Make panic unwind the default for aarch64-*-windows-msvc targets | Daniel Frampton | -8/+2 | |
| 2020-04-03 | Replace max/min_value() with MAX/MIN assoc consts | Linus Färnstrand | -1/+1 | |
| 2020-04-01 | Rollup merge of #70616 - anyska:fieldplacement-rename, r=oli-obk | Dylan DPC | -27/+27 | |
| rustc_target::abi: rename FieldPlacement to FieldsShape. Originally suggested by @eddyb. | ||||
| 2020-04-01 | Rollup merge of #70547 - wesleywiser:extract_can_unwind, r=eddyb | Mazdak Farrokhzad | -0/+2 | |
| Add `can_unwind` field to `FnAbi` This is a pure refactoring with no behavior changes. Extracted out of #70467 r? @eddyb | ||||
| 2020-04-01 | Rollup merge of #70605 - Amanieu:pthread_msvcrt, r=varkor | Dylan DPC | -0/+2 | |
| Add missing -lmsvcrt on mingw after -lpthread Fixes #70316 | ||||
| 2020-03-31 | rustc_target::abi: rename FieldPlacement to FieldsShape. | Ana-Maria Mihalache | -27/+27 | |
| 2020-03-31 | more clippy fixes | Matthias Krüger | -2/+2 | |
| use is_empty() instead of len comparison (clippy::len_zero) use if let instead of while let loop that never loops (clippy::never_loop) remove redundant returns (clippy::needless_return) remove redundant closures (clippy::redundant_closure) use if let instead of match and wildcard pattern (clippy::single_match) don't repeat field names redundantly (clippy::redundant_field_names) | ||||
| 2020-03-31 | Add missing -lmsvcrt on mingw after -lpthread | Amanieu d'Antras | -0/+2 | |
| Fixes #70316 | ||||
| 2020-03-30 | Add `can_unwind` field to `FnAbi` | Wesley Wiser | -0/+2 | |
| This is a pure refactoring with no behavior changes. | ||||
| 2020-03-30 | Use if let instead of match when only matching a single variant ↵ | Matthias Krüger | -13/+8 | |
| (clippy::single_match) Makes code more compact and reduces nestig. | ||||
| 2020-03-30 | rustc -> rustc_middle part 1 | Mazdak Farrokhzad | -1/+1 | |
| 2020-03-29 | Rollup merge of #69702 - anyska:tylayout-rename, r=oli-obk | Dylan DPC | -134/+133 | |
| Rename TyLayout to TyAndLayout. | ||||
| 2020-03-27 | Rename TyLayout to TyAndLayout. | Ana-Maria Mihalache | -134/+133 | |
| 2020-03-27 | Remove `no_integrated_as` mode. | Nicholas Nethercote | -9/+0 | |
| Specifically, remove both `-Z no_integrated_as` and `TargetOptions::no_integrated_as`. The latter was only used for the `msp430_none_elf` platform, for which it's no longer required. | ||||
| 2020-03-26 | Rollup merge of #70384 - nnethercote:refactor-object-file-handling, ↵ | Dylan DPC | -6/+0 | |
| r=alexcrichton Refactor object file handling Some preliminary clean-ups that grease the path to #66961. r? @alexcrichton | ||||
| 2020-03-25 | Rollup merge of #69700 - anyska:layout-details-rename, r=oli-obk | Dylan DPC | -12/+13 | |
| Rename LayoutDetails to just Layout. | ||||
| 2020-03-25 | Rename LayoutDetails to just Layout. | Ana-Maria Mihalache | -12/+13 | |
| 2020-03-25 | add usize methods for Size getters | Ralf Jung | -0/+10 | |
| 2020-03-25 | make Size::from* methods generic in the integer type they accept | Ralf Jung | -5/+6 | |
| 2020-03-25 | miri: avoid a bunch of casts by offering usized-based field indexing | Ralf Jung | -1/+2 | |
| 2020-03-25 | Remove `TargetOptions::embed_bitcode`. | Nicholas Nethercote | -6/+0 | |
| It's unused by any existing targets, and soon we'll be embedding full bitcode by default anyway. | ||||
| 2020-03-23 | Split long derive lists into two derive attributes. | Ana-Maria Mihalache | -13/+2 | |
| 2020-03-21 | remove unused unit values (clippy::unused_unit) | Matthias Krüger | -20/+6 | |
| 2020-03-21 | don't convert results to options just for matching (clippy::if_let_some_result) | Matthias Krüger | -2/+2 | |
| 2020-03-21 | Rollup merge of #70189 - RalfJung:is_signed, r=eddyb | Mazdak Farrokhzad | -1/+1 | |
| Abi::is_signed: assert that we are a Scalar A bit more sanity checking, suggested by @eddyb. This makes this method actually "safer" than `TyS::is_signed`, so I made sure Miri consistently uses the `Abi` version. Though I am not sure if this would have caught the mistake where the layout of a zero-sized enum was asked for its sign. r? @eddyb | ||||
| 2020-03-20 | Abi::is_signed: assert that we are a Scalar | Ralf Jung | -1/+1 | |
| 2020-03-20 | Rollup merge of #69768 - oli-obk:union_field_ice, r=eddyb,RalfJung | Yuki Okushi | -1/+4 | |
| Compute the correct layout for variants of uninhabited enums r? @eddyb cc @RalfJung fixes #69191 cc #69763 | ||||
| 2020-03-17 | Add requisite feature gates for const assert | Dylan MacKenzie | -0/+3 | |
