]> git.lizzy.rs Git - rust.git/log
rust.git
3 years agoRewrite cargo.sh in rust
bjorn3 [Sun, 20 Jun 2021 10:41:40 +0000 (12:41 +0200)]
Rewrite cargo.sh in rust

3 years agoMove some things from config.sh to ext_config.sh
bjorn3 [Sat, 19 Jun 2021 12:51:48 +0000 (14:51 +0200)]
Move some things from config.sh to ext_config.sh

3 years agoGive an error when attempting to build for MSVC
bjorn3 [Sat, 19 Jun 2021 12:07:56 +0000 (14:07 +0200)]
Give an error when attempting to build for MSVC

3 years agoUpdate rust-analyzer import assist config
bjorn3 [Fri, 18 Jun 2021 14:18:44 +0000 (16:18 +0200)]
Update rust-analyzer import assist config

3 years ago[CI] Test compilation on Windows
bjorn3 [Fri, 18 Jun 2021 11:41:20 +0000 (13:41 +0200)]
[CI] Test compilation on Windows

3 years agoImprove windows support
bjorn3 [Fri, 18 Jun 2021 11:38:50 +0000 (13:38 +0200)]
Improve windows support

3 years agoAllow preserving the old sysroot
bjorn3 [Fri, 18 Jun 2021 11:35:58 +0000 (13:35 +0200)]
Allow preserving the old sysroot

3 years agoRewrite build_sysroot.sh in rust
bjorn3 [Fri, 18 Jun 2021 11:27:56 +0000 (13:27 +0200)]
Rewrite build_sysroot.sh in rust

3 years agoMerge the crate_patches dir into the patches dir
bjorn3 [Wed, 16 Jun 2021 16:28:34 +0000 (18:28 +0200)]
Merge the crate_patches dir into the patches dir

3 years agoRewrite prepare_sysroot_src.sh in rust
bjorn3 [Wed, 16 Jun 2021 16:01:19 +0000 (18:01 +0200)]
Rewrite prepare_sysroot_src.sh in rust

3 years agoRewrite prepare.sh in rust
bjorn3 [Fri, 11 Jun 2021 16:50:01 +0000 (18:50 +0200)]
Rewrite prepare.sh in rust

3 years agoRewrite build.sh in rust
bjorn3 [Tue, 8 Jun 2021 12:33:25 +0000 (14:33 +0200)]
Rewrite build.sh in rust

This makes it easier to compile cg_clif on systems that don't support
bash shell scripts like Windows

3 years agoUpdate rust patch for compiler_builtins update
bjorn3 [Thu, 17 Jun 2021 16:42:09 +0000 (18:42 +0200)]
Update rust patch for compiler_builtins update

3 years agoFix miscompilation in vtable access
bjorn3 [Thu, 17 Jun 2021 16:41:43 +0000 (18:41 +0200)]
Fix miscompilation in vtable access

Fixes #1179

3 years agoRustup to rustc 1.55.0-nightly (a85f584ae 2021-06-16)
bjorn3 [Thu, 17 Jun 2021 13:36:32 +0000 (15:36 +0200)]
Rustup to rustc 1.55.0-nightly (a85f584ae 2021-06-16)

3 years agoSync from rust b17d9c1332693fc386f5374f0d63aae0ce5abab5
bjorn3 [Thu, 17 Jun 2021 13:22:37 +0000 (15:22 +0200)]
Sync from rust b17d9c1332693fc386f5374f0d63aae0ce5abab5

3 years agoAuto merge of #86291 - crlf0710:trait_vtbl_refactor, r=bjorn3
bors [Wed, 16 Jun 2021 07:20:27 +0000 (07:20 +0000)]
Auto merge of #86291 - crlf0710:trait_vtbl_refactor, r=bjorn3

Refactor vtable codegen

This refactor the codegen of vtables of miri interpreter, llvm, cranelift codegen backends.

This is preparation for the implementation of trait upcasting feature. cc #65991

Note that aside from code reorganization, there's an internal behavior change here that now InstanceDef::Virtual's index now include the three metadata slots, and now the first method is with index 3.

cc  `@RalfJung` `@bjorn3`

3 years agoImplement llvm.x86.addcarry.64 and llvm.x86.subborrow.64 (#1178)
Alexander [Tue, 15 Jun 2021 11:41:46 +0000 (13:41 +0200)]
Implement llvm.x86.addcarry.64 and llvm.x86.subborrow.64 (#1178)

3 years agoUse the now available implementation of `IntoIterator` for arrays
LeSeulArtichaut [Mon, 14 Jun 2021 21:40:09 +0000 (23:40 +0200)]
Use the now available implementation of `IntoIterator` for arrays

3 years agoRefactor to make interpreter and codegen backend neutral to vtable internal represent...
Charles Lew [Mon, 14 Jun 2021 10:02:53 +0000 (18:02 +0800)]
Refactor to make interpreter and codegen backend neutral to vtable internal representation.

3 years agoEnable cross-compilation support in Cranelift
bjorn3 [Thu, 10 Jun 2021 10:18:10 +0000 (12:18 +0200)]
Enable cross-compilation support in Cranelift

3 years agoUpdate Cranelift and object
bjorn3 [Thu, 10 Jun 2021 10:17:42 +0000 (12:17 +0200)]
Update Cranelift and object

3 years agoUse -Cprefer-dynamic for all crates in jit mode
bjorn3 [Thu, 10 Jun 2021 08:46:00 +0000 (10:46 +0200)]
Use -Cprefer-dynamic for all crates in jit mode

3 years agoInclude rustc and cranelift version in debuginfo
bjorn3 [Thu, 10 Jun 2021 08:19:58 +0000 (10:19 +0200)]
Include rustc and cranelift version in debuginfo

3 years agoAdd missing cargo clean when cross-compiling
bjorn3 [Thu, 10 Jun 2021 08:16:49 +0000 (10:16 +0200)]
Add missing cargo clean when cross-compiling

3 years agoAuto merge of #85910 - cjgillot:no-meta-version, r=Aaron1011
bors [Thu, 10 Jun 2021 00:39:25 +0000 (00:39 +0000)]
Auto merge of #85910 - cjgillot:no-meta-version, r=Aaron1011

Drop metadata_encoding_version.

Part of #85153

r? `@Aaron1011`

3 years agoIgnore unsupported test
bjorn3 [Tue, 8 Jun 2021 18:12:29 +0000 (20:12 +0200)]
Ignore unsupported test

3 years agoRustup to rustc 1.54.0-nightly (e4a603270 2021-06-07)
bjorn3 [Tue, 8 Jun 2021 17:36:12 +0000 (19:36 +0200)]
Rustup to rustc 1.54.0-nightly (e4a603270 2021-06-07)

3 years agoSync from rust a50d72158e08e02cfc051b863017bdbd2c45b637
bjorn3 [Tue, 8 Jun 2021 17:22:10 +0000 (19:22 +0200)]
Sync from rust a50d72158e08e02cfc051b863017bdbd2c45b637

3 years agoRollup merge of #86016 - luqmana:infer-linker-flavor, r=petrochenkov
Yuki Okushi [Mon, 7 Jun 2021 06:21:03 +0000 (15:21 +0900)]
Rollup merge of #86016 - luqmana:infer-linker-flavor, r=petrochenkov

Unify duplicate linker_and_flavor methods in rustc_codegen_{cranelift,ssa}.

The two methods were exactly the same so this removes the cranelift copy. This will help make sure both they don't get out of sync.

3 years agoAuto merge of #85810 - bjorn3:further_driver_cleanup, r=varkor
bors [Mon, 7 Jun 2021 02:30:24 +0000 (02:30 +0000)]
Auto merge of #85810 - bjorn3:further_driver_cleanup, r=varkor

Driver improvements

This PR contains a couple of cleanups for the driver and a few small improvements for the custom codegen backend interface. It also implements `--version` and `-Cpasses=list` support for custom codegen backends.

3 years agoUnify duplicate linker_and_flavor methods in rustc_codegen_{cranelift,ssa}.
Luqman Aden [Sat, 5 Jun 2021 02:47:28 +0000 (19:47 -0700)]
Unify duplicate linker_and_flavor methods in rustc_codegen_{cranelift,ssa}.

3 years agoAuto merge of #84171 - ricobbe:raw-dylib-via-llvm, r=petrochenkov
bors [Sun, 6 Jun 2021 03:59:17 +0000 (03:59 +0000)]
Auto merge of #84171 - ricobbe:raw-dylib-via-llvm, r=petrochenkov

Partial support for raw-dylib linkage

First cut of functionality for issue #58713: add support for `#[link(kind = "raw-dylib")]` on `extern` blocks in lib crates compiled to .rlib files.  Does not yet support `#[link_name]` attributes on functions, or the `#[link_ordinal]` attribute, or `#[link(kind = "raw-dylib")]` on `extern` blocks in bin crates; I intend to publish subsequent PRs to fill those gaps.  It's also not yet clear whether this works for functions in `extern "stdcall"` blocks; I also intend to investigate that shortly and make any necessary changes as a follow-on PR.

This implementation calls out to an LLVM function to construct the actual `.idata` sections as temporary `.lib` files on disk and then links those into the generated .rlib.

3 years agoAuto merge of #79608 - alessandrod:bpf, r=nagisa
bors [Sun, 6 Jun 2021 01:02:32 +0000 (01:02 +0000)]
Auto merge of #79608 - alessandrod:bpf, r=nagisa

BPF target support

This adds `bpfel-unknown-none` and `bpfeb-unknown-none`, two new no_std targets that generate little and big endian BPF. The approach taken is very similar to the cuda target, where `TargetOptions::obj_is_bitcode` is enabled and code generation is done by the linker.

I added the targets to `dist-various-2`. There are [some tests](https://github.com/alessandrod/bpf-linker/tree/main/tests/assembly) in bpf-linker and I'm planning to add more. Those are currently not ran as part of rust CI.

3 years agoRemove unused dylib_ext variable from build.sh
bjorn3 [Sat, 5 Jun 2021 16:29:28 +0000 (18:29 +0200)]
Remove unused dylib_ext variable from build.sh

3 years agoAdd first cut of functionality for #58713: support for #[link(kind = "raw-dylib")].
Richard Cobbe [Mon, 8 Mar 2021 20:42:54 +0000 (12:42 -0800)]
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.

3 years agoMove crate_name field from OngoingCodegen to CrateInfo
bjorn3 [Sat, 29 May 2021 15:37:38 +0000 (17:37 +0200)]
Move crate_name field from OngoingCodegen to CrateInfo

3 years agoMove windows_subsystem field from CodegenResults to CrateInfo
bjorn3 [Sat, 29 May 2021 15:08:46 +0000 (17:08 +0200)]
Move windows_subsystem field from CodegenResults to CrateInfo

3 years agoAllow printing the version of the default codegen backend if it isn't llvm
bjorn3 [Sat, 29 May 2021 13:14:05 +0000 (15:14 +0200)]
Allow printing the version of the default codegen backend if it isn't llvm

3 years agoProvide default MetadataLoader
bjorn3 [Sat, 29 May 2021 13:00:18 +0000 (15:00 +0200)]
Provide default MetadataLoader

3 years agoProvide a default provide* implementation for CodegenBackend
bjorn3 [Sat, 29 May 2021 12:51:27 +0000 (14:51 +0200)]
Provide a default provide* implementation for CodegenBackend

Both cg_llvm and cg_clif don't override it. cg_spirv does override it,
so it needs to be preserved.

3 years agoDrop metadata_encoding_version.
Camille GILLOT [Sat, 29 May 2021 20:49:59 +0000 (22:49 +0200)]
Drop metadata_encoding_version.

3 years agoRevert "Reduce the amount of untracked state in TyCtxt"
Camille Gillot [Tue, 1 Jun 2021 07:05:22 +0000 (09:05 +0200)]
Revert "Reduce the amount of untracked state in TyCtxt"

3 years agoDrop metadata_encoding_version.
Camille GILLOT [Sat, 29 May 2021 20:49:59 +0000 (22:49 +0200)]
Drop metadata_encoding_version.

3 years agoMake allocator_kind a query.
Camille GILLOT [Tue, 11 May 2021 20:05:54 +0000 (22:05 +0200)]
Make allocator_kind a query.

3 years agoMerge commit '40dd3e2b7089b5e96714e064b731f6dbf17c61a9' into sync_cg_clif-2021-05-27
bjorn3 [Thu, 27 May 2021 11:08:14 +0000 (13:08 +0200)]
Merge commit '40dd3e2b7089b5e96714e064b731f6dbf17c61a9' into sync_cg_clif-2021-05-27

3 years agoRustfmt
bjorn3 [Thu, 27 May 2021 10:40:08 +0000 (12:40 +0200)]
Rustfmt

3 years agoRustup to rustc 1.54.0-nightly (ff2c947c0 2021-05-25)
bjorn3 [Thu, 27 May 2021 10:39:40 +0000 (12:39 +0200)]
Rustup to rustc 1.54.0-nightly (ff2c947c0 2021-05-25)

3 years agoSync from rust 1969c2e312303faa458cf19dad9783165e3c72c8
bjorn3 [Wed, 26 May 2021 12:01:50 +0000 (14:01 +0200)]
Sync from rust 1969c2e312303faa458cf19dad9783165e3c72c8

3 years agoAllow switching the regalloc algorithm from the commandline
bjorn3 [Wed, 26 May 2021 12:00:58 +0000 (14:00 +0200)]
Allow switching the regalloc algorithm from the commandline

3 years agoRustfmt
bjorn3 [Mon, 24 May 2021 16:41:45 +0000 (18:41 +0200)]
Rustfmt

3 years agoUpdate rustc bootstrap patch
bjorn3 [Mon, 24 May 2021 15:16:45 +0000 (17:16 +0200)]
Update rustc bootstrap patch

3 years agoUpdate Cranelift, object and gimli
bjorn3 [Mon, 24 May 2021 14:06:54 +0000 (16:06 +0200)]
Update Cranelift, object and gimli

3 years ago(try to) fix cranelift
Ralf Jung [Sun, 23 May 2021 10:44:05 +0000 (12:44 +0200)]
(try to) fix cranelift

3 years agoAdd BPF target
Alessandro Decina [Mon, 30 Nov 2020 19:41:57 +0000 (19:41 +0000)]
Add BPF target

This change adds the bpfel-unknown-none and bpfeb-unknown-none targets
which can be used to generate little endian and big endian BPF

3 years agoRustup to rustc 1.54.0-nightly (3e99439f4 2021-05-17)
bjorn3 [Tue, 18 May 2021 17:51:31 +0000 (19:51 +0200)]
Rustup to rustc 1.54.0-nightly (3e99439f4 2021-05-17)

3 years agoSync from rust a5560a6a90f08a84728802bb5fa5632a17a78672
bjorn3 [Tue, 18 May 2021 17:42:37 +0000 (19:42 +0200)]
Sync from rust a5560a6a90f08a84728802bb5fa5632a17a78672

3 years agoMove some code around a bit
bjorn3 [Tue, 18 May 2021 17:41:04 +0000 (19:41 +0200)]
Move some code around a bit

3 years agoCTFE core engine allocation & memory API improvemenets
Ralf Jung [Sun, 16 May 2021 16:53:20 +0000 (18:53 +0200)]
CTFE core engine allocation & memory API improvemenets

- make Allocation API offset-based (no more Pointer)
- make Memory API higher-level (combine checking for access and getting access into one operation)

3 years agoAuto merge of #85178 - cjgillot:local-crate, r=oli-obk
bors [Mon, 17 May 2021 01:42:03 +0000 (01:42 +0000)]
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.

3 years agoReturn 0 from cpuid for all subleaves of leaf 7
bjorn3 [Sun, 16 May 2021 08:46:34 +0000 (10:46 +0200)]
Return 0 from cpuid for all subleaves of leaf 7

This is necessary to support the cpufeatures crate

Fixes #1173

3 years agoUpdate Cranelift
bjorn3 [Sun, 16 May 2021 08:45:18 +0000 (10:45 +0200)]
Update Cranelift

3 years agoAuto merge of #83640 - bjorn3:shared_metadata_reader, r=nagisa
bors [Fri, 14 May 2021 12:58:58 +0000 (12:58 +0000)]
Auto merge of #83640 - bjorn3:shared_metadata_reader, r=nagisa

Use the object crate for metadata reading

This allows sharing the metadata reader between cg_llvm, cg_clif and other codegen backends.

This is not currently useful for rlib reading with cg_spirv ([rust-gpu](https://github.com/EmbarkStudios/rust-gpu/)) as it uses tar rather than ar as .rlib format, but it is useful for dylib reading required for loading proc macros. (cc `@eddyb)`

The object crate is already trusted as dependency of libstd through backtrace. As far as I know it supports reading all object file formats used by targets for which we support rust dylibs with crate metadata, but I am not certain. If this happens to not be the case, I could keep using LLVM for reading dylib metadata.

Marked as WIP for a perf run and as it is based on #83637.

3 years agoAdd support for const operands and options to global_asm!
Amanieu d'Antras [Sun, 11 Apr 2021 19:51:28 +0000 (20:51 +0100)]
Add support for const operands and options to global_asm!

On x86, the default syntax is also switched to Intel to match asm!

3 years agoUse () for codegen queries.
Camille GILLOT [Tue, 11 May 2021 12:39:04 +0000 (14:39 +0200)]
Use () for codegen queries.

3 years agoUse () for entry_fn.
Camille GILLOT [Tue, 11 May 2021 10:00:59 +0000 (12:00 +0200)]
Use () for entry_fn.

3 years agoUse () in dependency_formats.
Camille GILLOT [Tue, 11 May 2021 09:26:52 +0000 (11:26 +0200)]
Use () in dependency_formats.

3 years agoAuto merge of #83813 - cbeuw:remap-std, r=michaelwoerister
bors [Wed, 12 May 2021 11:05:56 +0000 (11:05 +0000)]
Auto merge of #83813 - cbeuw:remap-std, r=michaelwoerister

Fix `--remap-path-prefix` not correctly remapping `rust-src` component paths and unify handling of path mapping with virtualized paths

This PR fixes #73167 ("Binaries end up containing path to the rust-src component despite `--remap-path-prefix`") by preventing real local filesystem paths from reaching compilation output if the path is supposed to be remapped.

`RealFileName::Named` introduced in #72767 is now renamed as `LocalPath`, because this variant wraps a (most likely) valid local filesystem path.

`RealFileName::Devirtualized` is renamed as `Remapped` to be used for remapped path from a real path via `--remap-path-prefix` argument, as well as real path inferred from a virtualized (during compiler bootstrapping) `/rustc/...` path. The `local_path` field is now an `Option<PathBuf>`, as it will be set to `None` before serialisation, so it never reaches any build output. Attempting to serialise a non-`None` `local_path` will cause an assertion faliure.

When a path is remapped, a `RealFileName::Remapped` variant is created. The original path is preserved in `local_path` field and the remapped path is saved in `virtual_name` field. Previously, the `local_path` is directly modified which goes against its purpose of "suitable for reading from the file system on the local host".

`rustc_span::SourceFile`'s fields `unmapped_path` (introduced by #44940) and `name_was_remapped` (introduced by #41508 when `--remap-path-prefix` feature originally added) are removed, as these two pieces of information can be inferred from the `name` field: if it's anything other than a `FileName::Real(_)`, or if it is a `FileName::Real(RealFileName::LocalPath(_))`, then clearly `name_was_remapped` would've been false and `unmapped_path` would've been `None`. If it is a `FileName::Real(RealFileName::Remapped{local_path, virtual_name})`, then `name_was_remapped` would've been true and `unmapped_path` would've been `Some(local_path)`.

cc `@eddyb` who implemented `/rustc/...` path devirtualisation

3 years agoAuto merge of #83610 - bjorn3:driver_cleanup, r=cjgillot
bors [Wed, 12 May 2021 08:38:03 +0000 (08:38 +0000)]
Auto merge of #83610 - bjorn3:driver_cleanup, r=cjgillot

rustc_driver cleanup

Best reviewed one commit at a time.

3 years agoFix syntax in patch section of Cargo.toml
bjorn3 [Tue, 11 May 2021 12:26:32 +0000 (14:26 +0200)]
Fix syntax in patch section of Cargo.toml

3 years agoUse declare_anonymous_data for anonymous_str
bjorn3 [Tue, 11 May 2021 12:25:56 +0000 (14:25 +0200)]
Use declare_anonymous_data for anonymous_str

3 years agoImplement imported_main feature
bjorn3 [Tue, 11 May 2021 12:22:05 +0000 (14:22 +0200)]
Implement imported_main feature

Fixes #1164

3 years agoRustup to rustc 1.54.0-nightly (79e50bf77 2021-05-10)
bjorn3 [Tue, 11 May 2021 11:22:38 +0000 (13:22 +0200)]
Rustup to rustc 1.54.0-nightly (79e50bf77 2021-05-10)

3 years agoUpdate Cranelift
bjorn3 [Mon, 10 May 2021 11:13:52 +0000 (13:13 +0200)]
Update Cranelift

3 years agoRemove unnecessary compiler builtins patch
bjorn3 [Sun, 9 May 2021 11:26:54 +0000 (13:26 +0200)]
Remove unnecessary compiler builtins patch

3 years agoRe-enable fixed libcore tests
bjorn3 [Sun, 9 May 2021 11:24:23 +0000 (13:24 +0200)]
Re-enable fixed libcore tests

They were fixed in 6d6c5742896fab93788b4dabb6ba2fcf1881f5e2

3 years agoRustup to rustc 1.54.0-nightly (881c1ac40 2021-05-08)
bjorn3 [Sun, 9 May 2021 11:17:02 +0000 (13:17 +0200)]
Rustup to rustc 1.54.0-nightly (881c1ac40 2021-05-08)

3 years agoSync from rust d6d028369be9eb02d219506c0dd662a2f863fc18
bjorn3 [Sun, 9 May 2021 08:01:38 +0000 (10:01 +0200)]
Sync from rust d6d028369be9eb02d219506c0dd662a2f863fc18

3 years agoUse the object crate for metadata reading
bjorn3 [Mon, 29 Mar 2021 09:39:13 +0000 (11:39 +0200)]
Use the object crate for metadata reading

3 years agoAvoid trailing / in git path for Wasmtime
bjorn3 [Fri, 7 May 2021 10:58:54 +0000 (12:58 +0200)]
Avoid trailing / in git path for Wasmtime

Git seems to not be able to handle it in some cases. Thanks to @vramana
for reporting this on Zulip.

3 years agoImplement RFC 2951: Native link modifiers
Luqman Aden [Thu, 25 Mar 2021 04:45:09 +0000 (21:45 -0700)]
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.

3 years agoUse local and remapped paths where appropriate
Andy Wang [Mon, 19 Apr 2021 22:27:02 +0000 (23:27 +0100)]
Use local and remapped paths where appropriate

3 years agoRevamp RealFileName public methods
Andy Wang [Wed, 14 Apr 2021 13:12:39 +0000 (14:12 +0100)]
Revamp RealFileName public methods

3 years agoUse RealFileName for Session::working_dir as it may also be remapped
Andy Wang [Sat, 10 Apr 2021 12:48:06 +0000 (13:48 +0100)]
Use RealFileName for Session::working_dir as it may also be remapped

3 years agoUpdate Cranelift
bjorn3 [Tue, 4 May 2021 16:54:22 +0000 (18:54 +0200)]
Update Cranelift

This removes all the byteorder and thiserror dependencies. This results
in no proc macros being necessary anymore.

3 years agoRustfmt
bjorn3 [Tue, 4 May 2021 14:41:48 +0000 (16:41 +0200)]
Rustfmt

3 years agoForce deprecation warning that was promoted to an error back to a warning
bjorn3 [Tue, 4 May 2021 12:16:59 +0000 (14:16 +0200)]
Force deprecation warning that was promoted to an error back to a warning

3 years agoUpdate rust bootstrap patches
bjorn3 [Tue, 4 May 2021 12:13:07 +0000 (14:13 +0200)]
Update rust bootstrap patches

3 years agoAdd missing change
bjorn3 [Tue, 4 May 2021 12:01:22 +0000 (14:01 +0200)]
Add missing change

3 years agoRustup to rustc 1.54.0-nightly (716394d65 2021-05-03)
bjorn3 [Tue, 4 May 2021 11:55:04 +0000 (13:55 +0200)]
Rustup to rustc 1.54.0-nightly (716394d65 2021-05-03)

3 years agoSync from rust 7a0f1781d04662041db5deaef89598a8edd53717
bjorn3 [Tue, 4 May 2021 11:38:28 +0000 (13:38 +0200)]
Sync from rust 7a0f1781d04662041db5deaef89598a8edd53717

3 years agoPass target_cpu to LinkerInfo::new instead of link_binary
bjorn3 [Sun, 28 Mar 2021 20:14:09 +0000 (22:14 +0200)]
Pass target_cpu to LinkerInfo::new instead of link_binary

This is one step towards separating the linking code from codegen backends

3 years agoMerge pull request #1169 from eggyal/macho-link-section
bjorn3 [Fri, 30 Apr 2021 17:02:09 +0000 (19:02 +0200)]
Merge pull request #1169 from eggyal/macho-link-section

Set correct segment from #[link_section] for MachO

3 years agoMerge commit '15c8d31392b9fbab3b3368b67acc4bbe5983115a' into cranelift-rebase
Erin Power [Fri, 30 Apr 2021 16:46:59 +0000 (18:46 +0200)]
Merge commit '15c8d31392b9fbab3b3368b67acc4bbe5983115a' into cranelift-rebase

3 years agoNo-op register_jit on Windows (#1170)
XAMPPRocky [Fri, 30 Apr 2021 16:44:20 +0000 (18:44 +0200)]
No-op register_jit on Windows (#1170)

* No-op register_jit on Windows

Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
3 years ago[cg_clif] Fix run_jit from sync
Erin Power [Fri, 30 Apr 2021 13:27:05 +0000 (15:27 +0200)]
[cg_clif] Fix run_jit from sync

3 years agoSync rustc_codegen_cranelift 'ddd4ce25535cf71203ba3700896131ce55fde795'
Erin Power [Fri, 30 Apr 2021 12:49:58 +0000 (14:49 +0200)]
Sync rustc_codegen_cranelift 'ddd4ce25535cf71203ba3700896131ce55fde795'

3 years agoSet correct segment from #[link_section] for MachO
Alan Egerton [Fri, 30 Apr 2021 10:02:34 +0000 (11:02 +0100)]
Set correct segment from #[link_section] for MachO

3 years agoRemove unused parameter
bjorn3 [Fri, 30 Apr 2021 08:52:37 +0000 (10:52 +0200)]
Remove unused parameter

3 years agoIgnore new failing rustc test
bjorn3 [Thu, 29 Apr 2021 12:16:16 +0000 (14:16 +0200)]
Ignore new failing rustc test