]> git.lizzy.rs Git - rust.git/log
rust.git
4 years agoDon't disable inline asm in hint::spin_loop
bjorn3 [Wed, 11 Mar 2020 13:08:54 +0000 (14:08 +0100)]
Don't disable inline asm in hint::spin_loop

4 years agoMerge pull request #916 from bjorn3/fn_once_for_box_without_alloca
bjorn3 [Wed, 11 Mar 2020 12:58:22 +0000 (13:58 +0100)]
Merge pull request #916 from bjorn3/fn_once_for_box_without_alloca

Emulate `<Box<F> as FnOnce>::call_once` without `alloca`

4 years agoDon't disable multithreading in libtest
bjorn3 [Tue, 10 Mar 2020 19:53:05 +0000 (20:53 +0100)]
Don't disable multithreading in libtest

4 years agoRustup to rustc 1.43.0-nightly (3dbade652 2020-03-09)
bjorn3 [Tue, 10 Mar 2020 19:51:38 +0000 (20:51 +0100)]
Rustup to rustc 1.43.0-nightly (3dbade652 2020-03-09)

4 years agoEmulate `<Box<F> as FnOnce>::call_once` without `alloca`
bjorn3 [Tue, 10 Mar 2020 19:48:58 +0000 (20:48 +0100)]
Emulate `<Box<F> as FnOnce>::call_once` without `alloca`

Fixes #884

cc #15

4 years agoSupport virtual calls with unsized self argument
bjorn3 [Tue, 10 Mar 2020 19:41:31 +0000 (20:41 +0100)]
Support virtual calls with unsized self argument

4 years agoBump proc-macro2 from 1.0.8 to 1.0.9 (#908)
dependabot-preview[bot] [Tue, 10 Mar 2020 09:40:23 +0000 (10:40 +0100)]
Bump proc-macro2 from 1.0.8 to 1.0.9 (#908)

Bumps [proc-macro2](https://github.com/alexcrichton/proc-macro2) from 1.0.8 to 1.0.9.
- [Release notes](https://github.com/alexcrichton/proc-macro2/releases)
- [Commits](https://github.com/alexcrichton/proc-macro2/compare/1.0.8...1.0.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
4 years agoBump syn from 1.0.15 to 1.0.16 (#907)
dependabot-preview[bot] [Tue, 10 Mar 2020 09:40:04 +0000 (10:40 +0100)]
Bump syn from 1.0.15 to 1.0.16 (#907)

Bumps [syn](https://github.com/dtolnay/syn) from 1.0.15 to 1.0.16.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.15...1.0.16)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
4 years agoBump quote from 1.0.2 to 1.0.3 (#912)
dependabot-preview[bot] [Tue, 10 Mar 2020 09:39:45 +0000 (10:39 +0100)]
Bump quote from 1.0.2 to 1.0.3 (#912)

Bumps [quote](https://github.com/dtolnay/quote) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/dtolnay/quote/releases)
- [Commits](https://github.com/dtolnay/quote/compare/1.0.2...1.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
4 years agoUse multiple codegen units
bjorn3 [Mon, 9 Mar 2020 10:21:40 +0000 (11:21 +0100)]
Use multiple codegen units

Fixes #909

4 years agoMerge pull request #913 from bjorn3/dependabot/cargo/cranelift-codegen-fbe29da
dependabot-preview[bot] [Mon, 9 Mar 2020 07:10:15 +0000 (07:10 +0000)]
Merge pull request #913 from bjorn3/dependabot/cargo/cranelift-codegen-fbe29da

4 years agoBump cranelift-codegen from `4284491` to `fbe29da`
dependabot-preview[bot] [Mon, 9 Mar 2020 05:17:39 +0000 (05:17 +0000)]
Bump cranelift-codegen from `4284491` to `fbe29da`

Bumps [cranelift-codegen](https://github.com/bytecodealliance/wasmtime) from `4284491` to `fbe29da`.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/428449133943213f2edc58ec161efcbb23d0eebd...fbe29da5cc1c0847af176f151f114a6a535534ff)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agoRevert "Use multiple codegen units"
bjorn3 [Sun, 8 Mar 2020 12:27:43 +0000 (13:27 +0100)]
Revert "Use multiple codegen units"

This reverts commit 03acf67a0e3a2780d2a1443f4e4596b69d9a2b09.

4 years agoFix Cranelift patch paths
bjorn3 [Sun, 8 Mar 2020 11:25:11 +0000 (12:25 +0100)]
Fix Cranelift patch paths

4 years agoUse multiple codegen units
bjorn3 [Sat, 7 Mar 2020 11:45:55 +0000 (12:45 +0100)]
Use multiple codegen units

4 years agoMove emit_module call
bjorn3 [Sat, 7 Mar 2020 11:45:05 +0000 (12:45 +0100)]
Move emit_module call

4 years agoMove time "codegen mono items" out of codegen_mono_items
bjorn3 [Sat, 7 Mar 2020 11:16:32 +0000 (12:16 +0100)]
Move time "codegen mono items" out of codegen_mono_items

4 years agoCheck for main in current module before codegen of entry wrapper
bjorn3 [Sat, 7 Mar 2020 11:13:54 +0000 (12:13 +0100)]
Check for main in current module before codegen of entry wrapper

4 years agoInline codegen_cgus
bjorn3 [Sat, 7 Mar 2020 10:54:35 +0000 (11:54 +0100)]
Inline codegen_cgus

4 years agoMisc changes
bjorn3 [Sat, 7 Mar 2020 10:27:49 +0000 (11:27 +0100)]
Misc changes

4 years agoUpdate Cranelift
bjorn3 [Sat, 7 Mar 2020 10:11:42 +0000 (11:11 +0100)]
Update Cranelift

4 years agoRemove unused inline asm whitelist
bjorn3 [Sat, 7 Mar 2020 10:10:33 +0000 (11:10 +0100)]
Remove unused inline asm whitelist

4 years agoDon't run dsymutil on librustc_codegen_cranelift on macOS
bjorn3 [Sat, 7 Mar 2020 10:06:24 +0000 (11:06 +0100)]
Don't run dsymutil on librustc_codegen_cranelift on macOS

This halves clean incremental compilation time

4 years agoRustup to rustc 1.43.0-nightly (2890b37b8 2020-03-06)
bjorn3 [Sat, 7 Mar 2020 09:39:57 +0000 (10:39 +0100)]
Rustup to rustc 1.43.0-nightly (2890b37b8 2020-03-06)

4 years agoRustup to rustc 1.43.0-nightly (4ad624882 2020-03-03)
bjorn3 [Wed, 4 Mar 2020 14:04:28 +0000 (15:04 +0100)]
Rustup to rustc 1.43.0-nightly (4ad624882 2020-03-03)

4 years agoUpdate for the merge of Cranelift into Wasmtime
bjorn3 [Sat, 29 Feb 2020 13:24:29 +0000 (14:24 +0100)]
Update for the merge of Cranelift into Wasmtime

4 years agoRustup to rustc 1.43.0-nightly (0eb878d2a 2020-02-28)
bjorn3 [Sat, 29 Feb 2020 13:19:16 +0000 (14:19 +0100)]
Rustup to rustc 1.43.0-nightly (0eb878d2a 2020-02-28)

4 years agoImplement simd_fma
bjorn3 [Wed, 26 Feb 2020 15:35:13 +0000 (16:35 +0100)]
Implement simd_fma

4 years agoMerge pull request #784 from bjorn3/wip_tls_support
bjorn3 [Wed, 26 Feb 2020 14:11:37 +0000 (15:11 +0100)]
Merge pull request #784 from bjorn3/wip_tls_support

TLS support

4 years agoTls support
bjorn3 [Sun, 27 Oct 2019 15:55:35 +0000 (16:55 +0100)]
Tls support

4 years agoRustup to rustc 1.43.0-nightly (6fd8798f4 2020-02-25)
bjorn3 [Wed, 26 Feb 2020 13:30:11 +0000 (14:30 +0100)]
Rustup to rustc 1.43.0-nightly (6fd8798f4 2020-02-25)

4 years agoMerge pull request #903 from bjorn3/dependabot/cargo/cranelift-codegen-5ad5505
dependabot-preview[bot] [Mon, 24 Feb 2020 06:57:12 +0000 (06:57 +0000)]
Merge pull request #903 from bjorn3/dependabot/cargo/cranelift-codegen-5ad5505

4 years agoBump cranelift-codegen from `0c7da4a` to `5ad5505`
dependabot-preview[bot] [Mon, 24 Feb 2020 05:09:52 +0000 (05:09 +0000)]
Bump cranelift-codegen from `0c7da4a` to `5ad5505`

Bumps [cranelift-codegen](https://github.com/bytecodealliance/cranelift) from `0c7da4a` to `5ad5505`.
- [Release notes](https://github.com/bytecodealliance/cranelift/releases)
- [Commits](https://github.com/bytecodealliance/cranelift/compare/0c7da4a66325b82423111927b0d701e9a09269a6...5ad55057f18652ad0a4f270cd9b2876eb051c7d0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agoFix JIT on macOS
bjorn3 [Sat, 22 Feb 2020 14:57:53 +0000 (15:57 +0100)]
Fix JIT on macOS

Fixes #671

4 years agoSilence some warnings
bjorn3 [Sat, 22 Feb 2020 14:17:30 +0000 (15:17 +0100)]
Silence some warnings

4 years agoUpdate dependencies
bjorn3 [Sat, 22 Feb 2020 13:29:34 +0000 (14:29 +0100)]
Update dependencies

4 years agoUpdate Cranelift
bjorn3 [Sat, 22 Feb 2020 13:25:22 +0000 (14:25 +0100)]
Update Cranelift

4 years agoRustup to rustc 1.43.0-nightly (8aa9d2014 2020-02-21)
bjorn3 [Sat, 22 Feb 2020 13:20:37 +0000 (14:20 +0100)]
Rustup to rustc 1.43.0-nightly (8aa9d2014 2020-02-21)

4 years agoBump thiserror from 1.0.10 to 1.0.11 (#894)
dependabot-preview[bot] [Mon, 17 Feb 2020 16:54:27 +0000 (17:54 +0100)]
Bump thiserror from 1.0.10 to 1.0.11 (#894)

Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.10 to 1.0.11.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.10...1.0.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agoMerge pull request #896 from bjorn3/dependabot/cargo/cranelift-codegen-cd3d84e
dependabot-preview[bot] [Mon, 17 Feb 2020 06:32:54 +0000 (06:32 +0000)]
Merge pull request #896 from bjorn3/dependabot/cargo/cranelift-codegen-cd3d84e

4 years agoBump cranelift-codegen from `f1aa072` to `cd3d84e`
dependabot-preview[bot] [Mon, 17 Feb 2020 05:10:16 +0000 (05:10 +0000)]
Bump cranelift-codegen from `f1aa072` to `cd3d84e`

Bumps [cranelift-codegen](https://github.com/bytecodealliance/cranelift) from `f1aa072` to `cd3d84e`.
- [Release notes](https://github.com/bytecodealliance/cranelift/releases)
- [Commits](https://github.com/bytecodealliance/cranelift/compare/f1aa07265b3b25c1859f7184e92fd600316b4b25...cd3d84e580cc69876a93ea87ef12d45ee2942b2d)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agoUpdate Cranelift and use the new ineg instruction
bjorn3 [Sat, 15 Feb 2020 10:59:38 +0000 (11:59 +0100)]
Update Cranelift and use the new ineg instruction

4 years agoUse archive_format for determining if gnu style archives should be emitted
bjorn3 [Fri, 14 Feb 2020 18:12:43 +0000 (19:12 +0100)]
Use archive_format for determining if gnu style archives should be emitted

Fixes #893

4 years agoUpdate dependencies
bjorn3 [Fri, 14 Feb 2020 17:37:28 +0000 (18:37 +0100)]
Update dependencies

4 years agoUpdate Cranelift for basic blocks
bjorn3 [Fri, 14 Feb 2020 17:23:29 +0000 (18:23 +0100)]
Update Cranelift for basic blocks

4 years agoRustup to rustc 1.43.0-nightly (5d04ce67f 2020-02-13)
bjorn3 [Fri, 14 Feb 2020 17:20:34 +0000 (18:20 +0100)]
Rustup to rustc 1.43.0-nightly (5d04ce67f 2020-02-13)

4 years agoUse TrapCode::UnreachableCodeReached in trap_unreachable
bjorn3 [Fri, 7 Feb 2020 20:38:30 +0000 (21:38 +0100)]
Use TrapCode::UnreachableCodeReached in trap_unreachable

4 years ago[OPT] Don't call monomorphize from clif_type
bjorn3 [Fri, 7 Feb 2020 19:27:37 +0000 (20:27 +0100)]
[OPT] Don't call monomorphize from clif_type

4 years agoRemove the sudo key from .travis.yml
bjorn3 [Fri, 7 Feb 2020 12:55:02 +0000 (13:55 +0100)]
Remove the sudo key from .travis.yml

It has been deprecated and doesn't have any effect anymore

4 years agoRustup to rustc 1.43.0-nightly (442ae7f04 2020-02-06)
bjorn3 [Fri, 7 Feb 2020 12:49:48 +0000 (13:49 +0100)]
Rustup to rustc 1.43.0-nightly (442ae7f04 2020-02-06)

4 years agoRevert "Use CachingSourceMapView::byte_pos_to_line_and_col instead of SourceMap:...
bjorn3 [Mon, 3 Feb 2020 20:36:36 +0000 (21:36 +0100)]
Revert "Use CachingSourceMapView::byte_pos_to_line_and_col instead of SourceMap::lookup_char_pos"

This reverts commit eb4fc45310c70513d73d893616cd6735465680ca.

It caused a panic while compiling simple-raytracer

4 years agoUse CachingSourceMapView::byte_pos_to_line_and_col instead of SourceMap::lookup_char_pos
bjorn3 [Mon, 3 Feb 2020 20:05:18 +0000 (21:05 +0100)]
Use CachingSourceMapView::byte_pos_to_line_and_col instead of SourceMap::lookup_char_pos

The former calculates byte offsets instead of char offsets. It is faster
to calculate byte offsets than char offsets. Also most DWARF producers
and consumers use byte offsets instead of char offsets.

4 years agoDon't mark unwind ebbs as cold
bjorn3 [Sat, 1 Feb 2020 15:47:35 +0000 (16:47 +0100)]
Don't mark unwind ebbs as cold

This fixes the code_layout optimization, as it would previously try to
move non-existing ebbs.

Fixes #877

4 years agoUpdate smallvec to 1.2.0
bjorn3 [Sat, 1 Feb 2020 11:35:45 +0000 (12:35 +0100)]
Update smallvec to 1.2.0

4 years agoRustup to rustc 1.42.0-nightly (cd1ef390e 2020-01-31)
bjorn3 [Sat, 1 Feb 2020 11:35:03 +0000 (12:35 +0100)]
Rustup to rustc 1.42.0-nightly (cd1ef390e 2020-01-31)

4 years agoUpdate thiserror
bjorn3 [Wed, 29 Jan 2020 10:32:59 +0000 (11:32 +0100)]
Update thiserror

4 years agoUpdate Cranelift
bjorn3 [Wed, 29 Jan 2020 10:31:17 +0000 (11:31 +0100)]
Update Cranelift

4 years agoRustup to rustc 1.42.0-nightly (3761dcd34 2020-01-28)
bjorn3 [Wed, 29 Jan 2020 10:21:29 +0000 (11:21 +0100)]
Rustup to rustc 1.42.0-nightly (3761dcd34 2020-01-28)

4 years agoMerge pull request #883 from bjorn3/dependabot/cargo/cranelift-codegen-9a578c1
dependabot-preview[bot] [Mon, 27 Jan 2020 08:07:20 +0000 (08:07 +0000)]
Merge pull request #883 from bjorn3/dependabot/cargo/cranelift-codegen-9a578c1

4 years agoBump cranelift-codegen from `93e3bc1` to `9a578c1`
dependabot-preview[bot] [Mon, 27 Jan 2020 05:09:35 +0000 (05:09 +0000)]
Bump cranelift-codegen from `93e3bc1` to `9a578c1`

Bumps [cranelift-codegen](https://github.com/bytecodealliance/cranelift) from `93e3bc1` to `9a578c1`.
- [Release notes](https://github.com/bytecodealliance/cranelift/releases)
- [Commits](https://github.com/bytecodealliance/cranelift/compare/93e3bc19985d0be2d0bfb7bcf990139c4a95358d...9a578c10924ce485a7b7e22dd5577ebc96538bb0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agoDisable the code_layout optimization
bjorn3 [Sat, 25 Jan 2020 16:55:48 +0000 (17:55 +0100)]
Disable the code_layout optimization

When compiling libcore, it causes ebb params to be dropped for a certain function

4 years agoAdd #[cfg(debug_assertions)] to write_clif_file
bjorn3 [Sat, 25 Jan 2020 16:54:49 +0000 (17:54 +0100)]
Add #[cfg(debug_assertions)] to write_clif_file

This silences a warning in release mode

4 years agoUpdate compiler_builtins
bjorn3 [Sat, 25 Jan 2020 16:24:45 +0000 (17:24 +0100)]
Update compiler_builtins

4 years agoReplace unimplemented! with unreachable! when it will never be supported
bjorn3 [Sat, 25 Jan 2020 15:24:48 +0000 (16:24 +0100)]
Replace unimplemented! with unreachable! when it will never be supported

4 years agoFix correctness of optimization
bjorn3 [Sat, 25 Jan 2020 15:24:15 +0000 (16:24 +0100)]
Fix correctness of optimization

4 years agoAllow unsized types as function parameters
bjorn3 [Sat, 25 Jan 2020 15:23:54 +0000 (16:23 +0100)]
Allow unsized types as function parameters

4 years agoRemove outdated troubleshooting section
bjorn3 [Sat, 25 Jan 2020 11:28:22 +0000 (12:28 +0100)]
Remove outdated troubleshooting section

The nightly version is pinned since recently

4 years agoRustup to rustc 1.42.0-nightly (c2d141df5 2020-01-24)
bjorn3 [Sat, 25 Jan 2020 11:01:35 +0000 (12:01 +0100)]
Rustup to rustc 1.42.0-nightly (c2d141df5 2020-01-24)

4 years agoRe-introduce FnBox
bjorn3 [Wed, 22 Jan 2020 19:24:17 +0000 (20:24 +0100)]
Re-introduce FnBox

4 years agoImprove PlaceElem::Subslice handling
bjorn3 [Sat, 18 Jan 2020 09:23:51 +0000 (10:23 +0100)]
Improve PlaceElem::Subslice handling

4 years agoMake atomic instructions atomic using a global lock
bjorn3 [Sat, 18 Jan 2020 11:43:31 +0000 (12:43 +0100)]
Make atomic instructions atomic using a global lock

4 years agoWarn when using LTO
bjorn3 [Fri, 17 Jan 2020 19:33:27 +0000 (20:33 +0100)]
Warn when using LTO

4 years agoMake unused stack slots zero sized in stack2reg
bjorn3 [Sat, 18 Jan 2020 17:31:01 +0000 (18:31 +0100)]
Make unused stack slots zero sized in stack2reg

4 years agoDon't force static refs to const memory
bjorn3 [Fri, 17 Jan 2020 13:01:51 +0000 (14:01 +0100)]
Don't force static refs to const memory

4 years agoAllow more types in CValue::const_val
bjorn3 [Sun, 1 Dec 2019 16:35:40 +0000 (17:35 +0100)]
Allow more types in CValue::const_val

4 years agoRustup to rustc 1.42.0-nightly (689fca01c 2020-01-17)
bjorn3 [Sat, 18 Jan 2020 18:14:03 +0000 (19:14 +0100)]
Rustup to rustc 1.42.0-nightly (689fca01c 2020-01-17)

4 years agoUpdate dependencies
bjorn3 [Wed, 22 Jan 2020 17:09:00 +0000 (18:09 +0100)]
Update dependencies

4 years agoUpdate Cranelift
bjorn3 [Wed, 22 Jan 2020 17:04:11 +0000 (18:04 +0100)]
Update Cranelift

As basic blocks now work, they are enabled.

4 years agoMerge pull request #872 from bjorn3/dependabot/cargo/cranelift-codegen-062e984
dependabot-preview[bot] [Mon, 20 Jan 2020 06:35:05 +0000 (06:35 +0000)]
Merge pull request #872 from bjorn3/dependabot/cargo/cranelift-codegen-062e984

4 years agoBump cranelift-codegen from `3268b0d` to `062e984`
dependabot-preview[bot] [Mon, 20 Jan 2020 05:11:56 +0000 (05:11 +0000)]
Bump cranelift-codegen from `3268b0d` to `062e984`

Bumps [cranelift-codegen](https://github.com/bytecodealliance/cranelift) from `3268b0d` to `062e984`.
- [Release notes](https://github.com/bytecodealliance/cranelift/releases)
- [Commits](https://github.com/bytecodealliance/cranelift/compare/3268b0d11f6646b95e250d9f5eba22756434bcef...062e984cddb39bfe41f3abcb4653e76670960a69)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agoCorrect commit message in rustup.sh
bjorn3 [Wed, 15 Jan 2020 19:20:30 +0000 (20:20 +0100)]
Correct commit message in rustup.sh

4 years agorustc 1.42.0-nightly (31dd4f4ac 2020-01-13)
bjorn3 [Wed, 15 Jan 2020 19:04:33 +0000 (20:04 +0100)]
rustc 1.42.0-nightly (31dd4f4ac 2020-01-13)

4 years agoAdd rustup script
bjorn3 [Wed, 15 Jan 2020 18:42:10 +0000 (19:42 +0100)]
Add rustup script

4 years agoDisplay warning when overriding default rustc version in cargo.sh
bjorn3 [Wed, 15 Jan 2020 17:40:24 +0000 (18:40 +0100)]
Display warning when overriding default rustc version in cargo.sh

4 years agoStore nightly snapshot in rust-toolchain file, and use it in cargo.sh
Andrew Chin [Wed, 15 Jan 2020 17:05:18 +0000 (12:05 -0500)]
Store nightly snapshot in rust-toolchain file, and use it in cargo.sh

The rust-toolchain file can also store an exact nightly snapshot
(instead of just "nightly"), so we can store whatever snapshot that
rustc_codegen_cranelift is known to work with.

This also lets us add a new feature to `cargo.sh` to let it use the
exact same nightly snapshot as cg_clif.  If there's a nightly compiler
mismatch, you get a confusing error message like:

    error: couldn't load codegen backend "librustc_codegen_cranelift.so":
    "librustc_driver-681e2b4f66c73d3e.so: cannot open
    shared object file: No such file or directory"

So doing this automatically in cargo.sh is useful.

4 years agoFix debug build
bjorn3 [Wed, 15 Jan 2020 12:18:21 +0000 (13:18 +0100)]
Fix debug build

4 years agoReduce the amount of calls to layout_of
bjorn3 [Wed, 15 Jan 2020 12:17:09 +0000 (13:17 +0100)]
Reduce the amount of calls to layout_of

4 years agoUse release mode instead of debug mode in the readme
bjorn3 [Wed, 15 Jan 2020 10:53:24 +0000 (11:53 +0100)]
Use release mode instead of debug mode in the readme

cc #865

4 years agoReduce visibility
bjorn3 [Tue, 14 Jan 2020 16:11:06 +0000 (17:11 +0100)]
Reduce visibility

4 years agoOptimize .debug_line generation
bjorn3 [Tue, 14 Jan 2020 15:11:23 +0000 (16:11 +0100)]
Optimize .debug_line generation

This reduces the amount of time spent in .debug_line generation by about 50%

Fixes #807

4 years agoUpdate gimli to 0.20.0
bjorn3 [Tue, 14 Jan 2020 13:19:43 +0000 (14:19 +0100)]
Update gimli to 0.20.0

4 years agoRemove some depencencies
bjorn3 [Tue, 14 Jan 2020 13:16:06 +0000 (14:16 +0100)]
Remove some depencencies

4 years agoUpdate Cranelift
bjorn3 [Tue, 14 Jan 2020 12:55:08 +0000 (13:55 +0100)]
Update Cranelift

4 years agoRustup to rustc 1.42.0-nightly (3ebcfa145 2020-01-12)
bjorn3 [Mon, 13 Jan 2020 20:38:46 +0000 (21:38 +0100)]
Rustup to rustc 1.42.0-nightly (3ebcfa145 2020-01-12)

4 years agoMove all cold code to the end of the function
bjorn3 [Sat, 11 Jan 2020 16:57:18 +0000 (17:57 +0100)]
Move all cold code to the end of the function

Fixes #836

Benchmark #1: simple-raytracer/raytracer_cg_clif
  Time (mean ± σ):      9.250 s ±  0.056 s    [User: 9.213 s, System: 0.015 s]
  Range (min … max):    9.151 s …  9.348 s    20 runs

Benchmark #2: simple-raytracer/raytracer_cg_clif_cold_separated
  Time (mean ± σ):      9.179 s ±  0.101 s    [User: 9.141 s, System: 0.016 s]
  Range (min … max):    9.070 s …  9.473 s    20 runs

Summary
  'simple-raytracer/raytracer_cg_clif_cold_separated' ran
    1.01 ± 0.01 times faster than 'simple-raytracer/raytracer_cg_clif'

4 years agoImplement `#[track_caller]`
bjorn3 [Sat, 11 Jan 2020 15:49:42 +0000 (16:49 +0100)]
Implement `#[track_caller]`

Fixes #848

4 years agoDon't panic on reported const eval errors
bjorn3 [Sat, 11 Jan 2020 13:20:55 +0000 (14:20 +0100)]
Don't panic on reported const eval errors

4 years agoFix PlaceElem::Subslice length computation
bjorn3 [Sat, 11 Jan 2020 13:15:24 +0000 (14:15 +0100)]
Fix PlaceElem::Subslice length computation

4 years agoFix build
bjorn3 [Sat, 11 Jan 2020 13:27:26 +0000 (14:27 +0100)]
Fix build

4 years agoImprove build time for build scripts in release mode
bjorn3 [Fri, 10 Jan 2020 13:21:45 +0000 (14:21 +0100)]
Improve build time for build scripts in release mode