]> git.lizzy.rs Git - rust.git/log
rust.git
23 months agoReport an error on incompatible symbol definitions
bjorn3 [Fri, 22 Jul 2022 19:03:06 +0000 (19:03 +0000)]
Report an error on incompatible symbol definitions

23 months agoFix inline asm codegen for empty template
bjorn3 [Fri, 22 Jul 2022 18:42:51 +0000 (18:42 +0000)]
Fix inline asm codegen for empty template

23 months agoDon't crash when local variables are too big to store on the stack
bjorn3 [Fri, 22 Jul 2022 18:03:24 +0000 (18:03 +0000)]
Don't crash when local variables are too big to store on the stack

23 months agoUpdate for changes to the rustc test suite
bjorn3 [Mon, 18 Jul 2022 11:57:22 +0000 (11:57 +0000)]
Update for changes to the rustc test suite

23 months agoRustup to rustc 1.64.0-nightly (263edd43c 2022-07-17)
bjorn3 [Mon, 18 Jul 2022 10:59:42 +0000 (12:59 +0200)]
Rustup to rustc 1.64.0-nightly (263edd43c 2022-07-17)

23 months agoSync from rust 880416180b0a9ee1141c07d4d17667edb77daebd
bjorn3 [Mon, 18 Jul 2022 10:10:52 +0000 (12:10 +0200)]
Sync from rust 880416180b0a9ee1141c07d4d17667edb77daebd

23 months agoAuto merge of #99033 - 5225225:interpreter-validity-checks, r=oli-obk
bors [Sun, 17 Jul 2022 19:28:01 +0000 (19:28 +0000)]
Auto merge of #99033 - 5225225:interpreter-validity-checks, r=oli-obk

Use constant eval to do strict mem::uninit/zeroed validity checks

I'm not sure about the code organisation here, I just dumped the check in rustc_const_eval at the root. Not hard to move it elsewhere, in any case.

Also, this means cranelift codegen intrinsics lose the strict checks, since they don't seem to depend on rustc_const_eval, and I didn't see a point in keeping around two copies.

I also left comments in the is_zero_valid methods about "uhhh help how do i do this", those apply to both methods equally.

Also rustc_codegen_ssa now depends on rustc_const_eval... is this okay?

Pinging `@RalfJung` since you were the one who mentioned this to me, so I'm assuming you're interested.

Haven't had a chance to run full tests on this since it's really warm, and it's 1AM, I'll check out any failures/comments in the morning :)

23 months agoIntroduce opaque type to hidden type projection
Oli Scherer [Wed, 22 Jun 2022 15:28:28 +0000 (15:28 +0000)]
Introduce opaque type to hidden type projection

23 months agoUse constant eval to do strict validity checks
5225225 [Thu, 14 Jul 2022 21:42:47 +0000 (22:42 +0100)]
Use constant eval to do strict validity checks

23 months agoRename `debugging_opts` to `unstable_opts`
Joshua Nelson [Wed, 6 Jul 2022 12:44:47 +0000 (07:44 -0500)]
Rename `debugging_opts` to `unstable_opts`

This is no longer used only for debugging options (e.g. `-Zoutput-width`, `-Zallow-features`).
Rename it to be more clear.

23 months agoAuto merge of #99210 - Dylan-DPC:rollup-879cp1t, r=Dylan-DPC
bors [Wed, 13 Jul 2022 17:13:27 +0000 (17:13 +0000)]
Auto merge of #99210 - Dylan-DPC:rollup-879cp1t, r=Dylan-DPC

Rollup of 5 pull requests

Successful merges:

 - #98574 (Lower let-else in MIR)
 - #99011 (`UnsafeCell` blocks niches inside its nested type from being available outside)
 - #99030 (diagnostics: error messages when struct literals fail to parse)
 - #99155 (Keep unstable target features for asm feature checking)
 - #99199 (Refactor: remove an unnecessary `span_to_snippet`)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup

23 months agoRollup merge of #99155 - Amanieu:unstable-target-features, r=davidtwco
Dylan DPC [Wed, 13 Jul 2022 14:02:36 +0000 (19:32 +0530)]
Rollup merge of #99155 - Amanieu:unstable-target-features, r=davidtwco

Keep unstable target features for asm feature checking

Inline assembly uses the target features to determine which registers
are available on the current target. However it needs to be able to
access unstable target features for this.

Fixes #99071

2 years agoadd new rval, pull deref early
ouz-a [Mon, 13 Jun 2022 13:37:41 +0000 (16:37 +0300)]
add new rval, pull deref early

2 years agoKeep unstable target features for asm feature checking
Amanieu d'Antras [Mon, 11 Jul 2022 13:26:58 +0000 (14:26 +0100)]
Keep unstable target features for asm feature checking

Inline assembly uses the target features to determine which registers
are available on the current target. However it needs to be able to
access unstable target features for this.

Fixes #99071

2 years agoPartially stabilize const_slice_from_raw_parts
Konrad Borowski [Sun, 29 May 2022 16:01:26 +0000 (18:01 +0200)]
Partially stabilize const_slice_from_raw_parts

This doesn't stabilize methods working on mutable pointers.

2 years agotweak names and output and bless
Ralf Jung [Wed, 6 Jul 2022 14:14:46 +0000 (10:14 -0400)]
tweak names and output and bless

2 years agoreview feedback
Ralf Jung [Tue, 5 Jul 2022 21:38:46 +0000 (17:38 -0400)]
review feedback

2 years agofix cranelift and gcc backends
Ralf Jung [Tue, 5 Jul 2022 20:53:48 +0000 (16:53 -0400)]
fix cranelift and gcc backends

2 years agoRollup merge of #99070 - tamird:update-tracking-issue, r=RalfJung
Dylan DPC [Sat, 9 Jul 2022 05:58:09 +0000 (11:28 +0530)]
Rollup merge of #99070 - tamird:update-tracking-issue, r=RalfJung

Update integer_atomics tracking issue

Updates #32976.
Updates #99069.

r? ``@RalfJung``

2 years agoUpdate integer_atomics tracking issue
Tamir Duberstein [Fri, 8 Jul 2022 21:52:04 +0000 (17:52 -0400)]
Update integer_atomics tracking issue

Updates #32976.
Updates #99069.

2 years agoincr: cache dwarf objects in work products
David Wood [Mon, 4 Jul 2022 13:38:42 +0000 (14:38 +0100)]
incr: cache dwarf objects in work products

Cache DWARF objects alongside object files in work products when those
exist so that DWARF object files are available for thorin in packed mode
in incremental scenarios.

Signed-off-by: David Wood <david.wood@huawei.com>
2 years agoUpdate TypeVisitor paths
Alan Egerton [Fri, 17 Jun 2022 12:15:00 +0000 (13:15 +0100)]
Update TypeVisitor paths

2 years agoAuto merge of #96862 - oli-obk:enum_cast_mir, r=RalfJung
bors [Tue, 5 Jul 2022 09:36:29 +0000 (09:36 +0000)]
Auto merge of #96862 - oli-obk:enum_cast_mir, r=RalfJung

Change enum->int casts to not go through MIR casts.

follow-up to https://github.com/rust-lang/rust/pull/96814

this simplifies all backends and even gives LLVM more information about the return value of `Rvalue::Discriminant`, enabling optimizations in more cases.

2 years agoUpdate for changes to the rustc test suite
bjorn3 [Sun, 3 Jul 2022 13:41:29 +0000 (13:41 +0000)]
Update for changes to the rustc test suite

2 years agoRustup to rustc 1.64.0-nightly (f2d93935f 2022-07-02)
bjorn3 [Sun, 3 Jul 2022 13:07:25 +0000 (15:07 +0200)]
Rustup to rustc 1.64.0-nightly (f2d93935f 2022-07-02)

2 years agoSync from rust f99f9e48ed77a99747c6d07b42fdfe500f1a7de0
bjorn3 [Sun, 3 Jul 2022 12:51:45 +0000 (14:51 +0200)]
Sync from rust f99f9e48ed77a99747c6d07b42fdfe500f1a7de0

2 years agoAdd code to print clif ir on panics during define_function
bjorn3 [Sat, 2 Jul 2022 17:38:23 +0000 (19:38 +0200)]
Add code to print clif ir on panics during define_function

2 years agoRecover when failing to normalize closure signature.
Camille GILLOT [Fri, 4 Feb 2022 22:18:28 +0000 (23:18 +0100)]
Recover when failing to normalize closure signature.

2 years agoChange enum->int casts to not go through MIR casts.
Oli Scherer [Wed, 29 Jun 2022 14:18:55 +0000 (14:18 +0000)]
Change enum->int casts to not go through MIR casts.

Instead we generate a discriminant rvalue and cast the result of that.

2 years agoFix a crash for 11 single byte fields passed through the C abi
bjorn3 [Tue, 28 Jun 2022 14:31:32 +0000 (14:31 +0000)]
Fix a crash for 11 single byte fields passed through the C abi

Fixes #1234

2 years agoAllow building the sysroot with --emit llvm-ir
bjorn3 [Tue, 28 Jun 2022 09:55:37 +0000 (11:55 +0200)]
Allow building the sysroot with --emit llvm-ir

2 years agoRun regalloc checker on CI
bjorn3 [Tue, 28 Jun 2022 09:53:40 +0000 (11:53 +0200)]
Run regalloc checker on CI

This would have caught the issue that required releasing Cranelift 0.85.1

2 years agoUpdate to Cranelift 0.85.1
bjorn3 [Tue, 28 Jun 2022 09:52:21 +0000 (11:52 +0200)]
Update to Cranelift 0.85.1

This fixes a miscompilation

2 years agoUpdate `smallvec` to 1.8.1.
Nicholas Nethercote [Sun, 26 Jun 2022 22:48:55 +0000 (08:48 +1000)]
Update `smallvec` to 1.8.1.

This pulls in https://github.com/servo/rust-smallvec/pull/282, which
gives some small wins for rustc.

2 years agoUpdate for changes to the rustc test suite
bjorn3 [Thu, 23 Jun 2022 14:32:08 +0000 (14:32 +0000)]
Update for changes to the rustc test suite

2 years agoDisable DWARF debuginfo on Windows
bjorn3 [Mon, 16 Aug 2021 13:07:35 +0000 (15:07 +0200)]
Disable DWARF debuginfo on Windows

Windows uses PDB instead of DWARF and using DWARF debuginfo causes the linker to give an error

2 years agoUpdate Cranelift to 0.85.0
bjorn3 [Thu, 23 Jun 2022 13:19:54 +0000 (15:19 +0200)]
Update Cranelift to 0.85.0

2 years agoAdopt for "Remove dereferencing of Box from codegen"
bjorn3 [Thu, 23 Jun 2022 13:01:46 +0000 (15:01 +0200)]
Adopt for "Remove dereferencing of Box from codegen"

2 years agoRustup to rustc 1.63.0-nightly (10f4ce324 2022-06-22)
bjorn3 [Thu, 23 Jun 2022 12:58:55 +0000 (14:58 +0200)]
Rustup to rustc 1.63.0-nightly (10f4ce324 2022-06-22)

2 years agoSync from rust 10f4ce324baf7cfb7ce2b2096662b82b79204944
bjorn3 [Thu, 23 Jun 2022 12:52:31 +0000 (14:52 +0200)]
Sync from rust 10f4ce324baf7cfb7ce2b2096662b82b79204944

2 years agoAuto merge of #98098 - bjorn3:archive_refactor, r=michaelwoerister
bors [Tue, 21 Jun 2022 16:24:56 +0000 (16:24 +0000)]
Auto merge of #98098 - bjorn3:archive_refactor, r=michaelwoerister

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. This is simpler and makes it easier to swap out the archive writer in https://github.com/rust-lang/rust/pull/97485.

2 years agoRemove the source archive functionality of ArchiveWriter
bjorn3 [Tue, 14 Jun 2022 15:16:51 +0000 (15:16 +0000)]
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.

2 years agoFix "Remove src_files and remove_file"
bjorn3 [Sat, 18 Jun 2022 17:55:24 +0000 (17:55 +0000)]
Fix "Remove src_files and remove_file"

2 years agoRollup merge of #98165 - WaffleLapkin:once_things_renamings, r=m-ou-se
Matthias Krüger [Sat, 18 Jun 2022 22:17:13 +0000 (00:17 +0200)]
Rollup merge of #98165 - WaffleLapkin:once_things_renamings, r=m-ou-se

once cell renamings

This PR does the renamings proposed in https://github.com/rust-lang/rust/issues/74465#issuecomment-1153703128

- Move/rename `lazy::{OnceCell, Lazy}` to `cell::{OnceCell, LazyCell}`
- Move/rename `lazy::{SyncOnceCell, SyncLazy}` to `sync::{OnceLock, LazyLock}`

(I used `Lazy...` instead of `...Lazy` as it seems to be more consistent, easier to pronounce, etc)

```@rustbot``` label +T-libs-api -T-libs

2 years agoRollup merge of #97675 - nvzqz:unsized-needs-drop, r=dtolnay
Yuki Okushi [Thu, 16 Jun 2022 22:16:55 +0000 (07:16 +0900)]
Rollup merge of #97675 - nvzqz:unsized-needs-drop, r=dtolnay

Make `std::mem::needs_drop` accept `?Sized`

This change attempts to make `needs_drop` work with types like `[u8]` and `str`.

This enables code in types like `Arc<T>` that was not possible before, such as https://github.com/rust-lang/rust/pull/97676.

2 years agoMove/rename `lazy::Sync{OnceCell,Lazy}` to `sync::{Once,Lazy}Lock`
Maybe Waffle [Thu, 16 Jun 2022 15:39:39 +0000 (19:39 +0400)]
Move/rename `lazy::Sync{OnceCell,Lazy}` to `sync::{Once,Lazy}Lock`

2 years agoRemove src_files and remove_file
bjorn3 [Tue, 14 Jun 2022 15:11:14 +0000 (15:11 +0000)]
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.

2 years agoimplement valtrees as the type-system representation for constant values
b-naber [Wed, 16 Feb 2022 09:56:01 +0000 (10:56 +0100)]
implement valtrees as the type-system representation for constant values

2 years agoRustup to rustc 1.63.0-nightly (ca122c7eb 2022-06-13)
bjorn3 [Tue, 14 Jun 2022 10:34:26 +0000 (12:34 +0200)]
Rustup to rustc 1.63.0-nightly (ca122c7eb 2022-06-13)

2 years agoRename the `ConstS::val` field as `kind`.
Nicholas Nethercote [Fri, 10 Jun 2022 01:18:06 +0000 (11:18 +1000)]
Rename the `ConstS::val` field as `kind`.

And likewise for the `Const::val` method.

Because its type is called `ConstKind`. Also `val` is a confusing name
because `ConstKind` is an enum with seven variants, one of which is
called `Value`. Also, this gives consistency with `TyS` and `PredicateS`
which have `kind` fields.

The commit also renames a few `Const` variables from `val` to `c`, to
avoid confusion with the `ConstKind::Value` variant.

2 years agoFix running rustc tests
bjorn3 [Thu, 9 Jun 2022 14:56:53 +0000 (14:56 +0000)]
Fix running rustc tests

There are still two failures due to incorrect test annotations

2 years agoMark extern rust-cold calls as cold
bjorn3 [Thu, 9 Jun 2022 13:30:23 +0000 (15:30 +0200)]
Mark extern rust-cold calls as cold

2 years agoRustup to rustc 1.63.0-nightly (7466d5492 2022-06-08)
bjorn3 [Thu, 9 Jun 2022 13:25:44 +0000 (15:25 +0200)]
Rustup to rustc 1.63.0-nightly (7466d5492 2022-06-08)

2 years agoSync from rust be16c6166f08f9b26d854783bbd4ce8d006c8f6f
bjorn3 [Thu, 9 Jun 2022 13:18:41 +0000 (15:18 +0200)]
Sync from rust be16c6166f08f9b26d854783bbd4ce8d006c8f6f

2 years agoAuto merge of #97825 - Dylan-DPC:rollup-ya51k1k, r=Dylan-DPC
bors [Tue, 7 Jun 2022 11:08:58 +0000 (11:08 +0000)]
Auto merge of #97825 - Dylan-DPC:rollup-ya51k1k, r=Dylan-DPC

Rollup of 5 pull requests

Successful merges:

 - #97058 (Various refactors to the incr comp workproduct handling)
 - #97301 (Allow unstable items to be re-exported unstably without requiring the feature be enabled)
 - #97738 (Fix ICEs from zsts within unsized types with non-zero offsets)
 - #97771 (Remove SIGIO reference on Haiku)
 - #97808 (Add some unstable target features for the wasm target codegen)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup

2 years agoAuto merge of #97512 - scottmcm:add-coldcc, r=nagisa,lcnr
bors [Tue, 7 Jun 2022 08:12:45 +0000 (08:12 +0000)]
Auto merge of #97512 - scottmcm:add-coldcc, r=nagisa,lcnr

Add support for emitting functions with `coldcc` to LLVM

The eventual goal is to try using this for things like the internal panicking stuff, to see whether it helps.

2 years agoMake saved_file field of WorkProduct non-optional
bjorn3 [Sun, 15 May 2022 11:31:28 +0000 (11:31 +0000)]
Make saved_file field of WorkProduct non-optional

A WorkProduct without a saved file is useless

2 years agoFactor Option out of copy_cgu_workproduct_to_incr_comp_cache_dir call
bjorn3 [Fri, 13 May 2022 12:20:32 +0000 (12:20 +0000)]
Factor Option out of copy_cgu_workproduct_to_incr_comp_cache_dir call

This improves clarity of the code a bit

2 years agoAvoid an unnecessary clone for copy_cgu_workproduct_to_incr_comp_cache_dir calls
bjorn3 [Fri, 13 May 2022 12:18:13 +0000 (12:18 +0000)]
Avoid an unnecessary clone for copy_cgu_workproduct_to_incr_comp_cache_dir calls

2 years agoRename CodegenUnit::work_product to previous_work_product
bjorn3 [Fri, 13 May 2022 10:32:03 +0000 (10:32 +0000)]
Rename CodegenUnit::work_product to previous_work_product

It returns the previous work product or panics if there is none. This rename
makes the purpose of this method clearer.

2 years agoFix unsized field order
Nikolai Vazquez [Fri, 3 Jun 2022 16:58:36 +0000 (12:58 -0400)]
Fix unsized field order

2 years agoMake `std::mem::needs_drop` accept `?Sized`
Nikolai Vazquez [Fri, 3 Jun 2022 07:28:19 +0000 (03:28 -0400)]
Make `std::mem::needs_drop` accept `?Sized`

2 years agoRemove workaround for bytecodealliance/wasmtime#3963
bjorn3 [Thu, 2 Jun 2022 18:50:45 +0000 (20:50 +0200)]
Remove workaround for bytecodealliance/wasmtime#3963

2 years agoadd cast kind of from_exposed_addr (int-to-ptr casts)
Ralf Jung [Thu, 2 Jun 2022 13:05:37 +0000 (09:05 -0400)]
add cast kind of from_exposed_addr (int-to-ptr casts)

2 years agorename PointerAddress → PointerExposeAddress
Ralf Jung [Wed, 1 Jun 2022 17:24:44 +0000 (13:24 -0400)]
rename PointerAddress → PointerExposeAddress

2 years agoAdd a pointer to address cast kind
Tomasz Miąsko [Tue, 31 May 2022 00:00:00 +0000 (00:00 +0000)]
Add a pointer to address cast kind

A pointer to address cast are often special-cased.
Introduce a dedicated cast kind to make them easy distinguishable.

2 years agoUse CallConv::Cold in cranelift for extern "rust-cold"
Scott McMurray [Sun, 29 May 2022 17:50:51 +0000 (10:50 -0700)]
Use CallConv::Cold in cranelift for extern "rust-cold"

2 years agoAdd support for emitting functions with `coldcc` in LLVM
Scott McMurray [Sun, 29 May 2022 07:25:14 +0000 (00:25 -0700)]
Add support for emitting functions with `coldcc` in LLVM

The eventual goal is to try using this for things like the internal panicking stuff, to see whether it helps.

2 years agoAdd flag for stricter checks on uninit/zeroed
5225225 [Mon, 23 May 2022 15:44:05 +0000 (16:44 +0100)]
Add flag for stricter checks on uninit/zeroed

2 years agoRefactor call terminator to always hold a destination place
Jakob Degen [Sat, 16 Apr 2022 13:27:54 +0000 (09:27 -0400)]
Refactor call terminator to always hold a destination place

2 years agoUpdate rust-analyzer configuration
bjorn3 [Sun, 22 May 2022 18:35:24 +0000 (20:35 +0200)]
Update rust-analyzer configuration

2 years agoRustup to rustc 1.63.0-nightly (c06728704 2022-05-19)
bjorn3 [Fri, 20 May 2022 16:19:15 +0000 (18:19 +0200)]
Rustup to rustc 1.63.0-nightly (c06728704 2022-05-19)

2 years agoUpdate Cranelift and object
bjorn3 [Fri, 20 May 2022 14:44:20 +0000 (16:44 +0200)]
Update Cranelift and object

2 years agoFix symbol tables in case of multiple object files with the same name
bjorn3 [Wed, 18 May 2022 16:18:11 +0000 (18:18 +0200)]
Fix symbol tables in case of multiple object files with the same name

Fixes #1228

2 years agoRustup to rustc 1.63.0-nightly (c52b9c10b 2022-05-16)
bjorn3 [Tue, 17 May 2022 09:39:43 +0000 (11:39 +0200)]
Rustup to rustc 1.63.0-nightly (c52b9c10b 2022-05-16)

2 years agoMerge branch 'sync_from_rust'
bjorn3 [Sun, 15 May 2022 10:39:16 +0000 (12:39 +0200)]
Merge branch 'sync_from_rust'

2 years agoMerge commit '63734fcdd718cca089f84c42f3a42c0096cfd431' into sync_cg_clif-2022-05-15
bjorn3 [Sun, 15 May 2022 10:32:19 +0000 (12:32 +0200)]
Merge commit '63734fcdd718cca089f84c42f3a42c0096cfd431' into sync_cg_clif-2022-05-15

2 years agoRustup to rustc 1.62.0-nightly (70b3681bf 2022-05-14)
bjorn3 [Sun, 15 May 2022 10:22:00 +0000 (12:22 +0200)]
Rustup to rustc 1.62.0-nightly (70b3681bf 2022-05-14)

2 years agoSync from rust e1ec3260d79497080ca86540562d410ba67d2a95
bjorn3 [Sun, 15 May 2022 10:25:32 +0000 (12:25 +0200)]
Sync from rust e1ec3260d79497080ca86540562d410ba67d2a95

2 years agoRename `unsigned_offset_from` to `sub_ptr`
Scott McMurray [Sat, 9 Apr 2022 21:14:35 +0000 (14:14 -0700)]
Rename `unsigned_offset_from` to `sub_ptr`

2 years agoAdd `unsigned_offset_from` on pointers
Scott McMurray [Sat, 9 Apr 2022 08:27:47 +0000 (01:27 -0700)]
Add `unsigned_offset_from` on pointers

Like we have `add`/`sub` which are the `usize` version of `offset`, this adds the `usize` equivalent of `offset_from`.  Like how `.add(d)` replaced a whole bunch of `.offset(d as isize)`, you can see from the changes here that it's fairly common that code actually knows the order between the pointers and *wants* a `usize`, not an `isize`.

As a bonus, this can do `sub nuw`+`udiv exact`, rather than `sub`+`sdiv exact`, which can be optimized slightly better because it doesn't have to worry about negatives.  That's why the slice iterators weren't using `offset_from`, though I haven't updated that code in this PR because slices are so perf-critical that I'll do it as its own change.

This is an intrinsic, like `offset_from`, so that it can eventually be allowed in CTFE.  It also allows checking the extra safety condition -- see the test confirming that CTFE catches it if you pass the pointers in the wrong order.

2 years agoUse cfg(any()) instead of cfg(disabled)
bjorn3 [Wed, 11 May 2022 10:49:31 +0000 (10:49 +0000)]
Use cfg(any()) instead of cfg(disabled)

Rustbuild uses --check-cfg without allowing disabled as cfg name

2 years agoMerge pull request #1227 from Kmeakin/master
bjorn3 [Mon, 9 May 2022 16:46:38 +0000 (18:46 +0200)]
Merge pull request #1227 from Kmeakin/master

Only enable JIT tests on x86_64

2 years agoOnly enable JIT tests on x86_64
Karl Meakin [Mon, 9 May 2022 15:34:16 +0000 (16:34 +0100)]
Only enable JIT tests on x86_64

Cranelift currently only supports JIT on x86_64 targets.
Disable JIT tests on all other targets, so that failing tests are
ignored.

2 years agoRustup to rustc 1.62.0-nightly (77652b9ef 2022-05-06)
bjorn3 [Sat, 7 May 2022 12:56:36 +0000 (14:56 +0200)]
Rustup to rustc 1.62.0-nightly (77652b9ef 2022-05-06)

2 years agoRustfmt
bjorn3 [Fri, 6 May 2022 16:54:13 +0000 (18:54 +0200)]
Rustfmt

2 years agoFix assert_assignable for array types
bjorn3 [Fri, 6 May 2022 16:26:20 +0000 (18:26 +0200)]
Fix assert_assignable for array types

Fixes #1226

2 years agoAdd missing comma in vscode settings
bjorn3 [Fri, 6 May 2022 16:12:01 +0000 (18:12 +0200)]
Add missing comma in vscode settings

2 years agoFix jit mode with cargo-clif wrapper
bjorn3 [Sun, 1 May 2022 13:54:12 +0000 (15:54 +0200)]
Fix jit mode with cargo-clif wrapper

2 years agoFix #[track_caller] location for function chains
bjorn3 [Sat, 30 Apr 2022 14:21:43 +0000 (16:21 +0200)]
Fix #[track_caller] location for function chains

2 years agoFix #[track_caller] with MIR inlining
bjorn3 [Sat, 30 Apr 2022 13:01:57 +0000 (15:01 +0200)]
Fix #[track_caller] with MIR inlining

2 years agoRemove profile overrides for build scripts and their dependencies
bjorn3 [Sat, 30 Apr 2022 12:09:03 +0000 (14:09 +0200)]
Remove profile overrides for build scripts and their dependencies

Cargo now disables optimizations for build scripts by default anyway, so
they aren't really useful anymore.

2 years agoUpdate object for the nightly Cranelift check
bjorn3 [Sat, 30 Apr 2022 11:44:18 +0000 (13:44 +0200)]
Update object for the nightly Cranelift check

2 years agoUpdate actions/checkout to v3
bjorn3 [Sat, 30 Apr 2022 11:40:16 +0000 (13:40 +0200)]
Update actions/checkout to v3

2 years agoMerge pull request #1225 from bjorn3/build_system_rework
bjorn3 [Sat, 30 Apr 2022 11:34:40 +0000 (13:34 +0200)]
Merge pull request #1225 from bjorn3/build_system_rework

Use -Zcodegen-backend instead of a custom rustc driver

2 years agoDon't unnecessarily copy rustc_std_workspace_std into the sysroot
bjorn3 [Fri, 29 Apr 2022 17:47:43 +0000 (19:47 +0200)]
Don't unnecessarily copy rustc_std_workspace_std into the sysroot

2 years agoUse -Zcodegen-backend instead of a rustc replacement in cargo-clif
bjorn3 [Sun, 13 Feb 2022 18:31:49 +0000 (19:31 +0100)]
Use -Zcodegen-backend instead of a rustc replacement in cargo-clif

2 years agoRemove cg_clif_build_sysroot
bjorn3 [Sun, 13 Feb 2022 17:33:30 +0000 (18:33 +0100)]
Remove cg_clif_build_sysroot

2 years agoInline ext_config.sh
bjorn3 [Sun, 13 Feb 2022 18:36:36 +0000 (19:36 +0100)]
Inline ext_config.sh

2 years agoRemove less of the sysroot build dir on recompilation
bjorn3 [Sun, 13 Feb 2022 17:46:53 +0000 (18:46 +0100)]
Remove less of the sysroot build dir on recompilation