]> git.lizzy.rs Git - rust.git/log
rust.git
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 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 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

3 years agoImplement RFC 1260 with feature_name `imported_main`.
Charles Lew [Sun, 25 Apr 2021 17:09:35 +0000 (01:09 +0800)]
Implement RFC 1260 with feature_name `imported_main`.

3 years agoRustup to rustc 1.53.0-nightly (727d10156 2021-04-27)
bjorn3 [Wed, 28 Apr 2021 17:41:10 +0000 (19:41 +0200)]
Rustup to rustc 1.53.0-nightly (727d10156 2021-04-27)

3 years agoMerge pull request #1163 from mominul/target_cpu
bjorn3 [Fri, 23 Apr 2021 15:13:25 +0000 (17:13 +0200)]
Merge pull request #1163 from mominul/target_cpu

Support -Ctarget-cpu

3 years agoUpdate the error messsage
Muhammad Mominul Huque [Fri, 23 Apr 2021 14:40:27 +0000 (20:40 +0600)]
Update the error messsage

Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
3 years agoHandle native target-cpu variant
Muhammad Mominul Huque [Fri, 23 Apr 2021 13:55:52 +0000 (19:55 +0600)]
Handle native target-cpu variant
and raise fatal error if the specified target cpu is not supported

3 years agoSupport -Ctarget-cpu
Muhammad Mominul Huque [Fri, 23 Apr 2021 11:04:45 +0000 (17:04 +0600)]
Support -Ctarget-cpu

3 years agoRustup to rustc 1.53.0-nightly (6df26f897 2021-04-20)
bjorn3 [Wed, 21 Apr 2021 13:32:04 +0000 (15:32 +0200)]
Rustup to rustc 1.53.0-nightly (6df26f897 2021-04-20)

3 years agoSync from rust 6df26f897cffb2d86880544bb451c6b5f8509b2d
bjorn3 [Wed, 21 Apr 2021 09:29:57 +0000 (11:29 +0200)]
Sync from rust 6df26f897cffb2d86880544bb451c6b5f8509b2d

3 years agoMatch on Symbol instead of &str in intrinsics handling
bjorn3 [Mon, 19 Apr 2021 17:41:57 +0000 (19:41 +0200)]
Match on Symbol instead of &str in intrinsics handling

3 years agoExtend Termination::report return value as necessary
bjorn3 [Sun, 18 Apr 2021 08:58:42 +0000 (10:58 +0200)]
Extend Termination::report return value as necessary

3 years agoAvoid .to_string() for symbol names where possible
bjorn3 [Sun, 18 Apr 2021 08:37:02 +0000 (10:37 +0200)]
Avoid .to_string() for symbol names where possible

3 years agoFix test
bjorn3 [Sun, 18 Apr 2021 08:32:38 +0000 (10:32 +0200)]
Fix test

3 years agoCall Termination::report on main result in jit mode
bjorn3 [Sun, 18 Apr 2021 08:29:20 +0000 (10:29 +0200)]
Call Termination::report on main result in jit mode

3 years agoUpload artifacts for cross compiling to MinGW
bjorn3 [Fri, 16 Apr 2021 12:39:46 +0000 (14:39 +0200)]
Upload artifacts for cross compiling to MinGW

Fixes #1161

3 years agoFix overflow checking when multiplying two i64
bjorn3 [Fri, 16 Apr 2021 12:36:07 +0000 (14:36 +0200)]
Fix overflow checking when multiplying two i64

Fixes #1162

3 years agoFix rotate_left and rotate_right with 128bit shift amount
bjorn3 [Fri, 16 Apr 2021 12:02:57 +0000 (14:02 +0200)]
Fix rotate_left and rotate_right with 128bit shift amount

Fixes #1114

3 years agoDisable new test
bjorn3 [Fri, 16 Apr 2021 10:35:22 +0000 (12:35 +0200)]
Disable new test

3 years agoFix rustc tests by updating compiler-builtins dep to 0.1.40
bjorn3 [Fri, 16 Apr 2021 10:21:29 +0000 (12:21 +0200)]
Fix rustc tests by updating compiler-builtins dep to 0.1.40

3 years agoRustup to rustc 1.53.0-nightly (132b4e5d1 2021-04-13)
bjorn3 [Fri, 16 Apr 2021 09:59:20 +0000 (11:59 +0200)]
Rustup to rustc 1.53.0-nightly (132b4e5d1 2021-04-13)

3 years agoAdd more SIMD math.h intrinsics
Jubilee Young [Wed, 14 Apr 2021 22:07:36 +0000 (15:07 -0700)]
Add more SIMD math.h intrinsics

LLVM supports many functions from math.h in its IR. Many of these have
single-instruction variants on various platforms. So, let's add them so
std::arch can use them.

Yes, exact comparison is intentional: rounding must always return a
valid integer-equal value, except for inf/NAN.

3 years agoSync from rust b203b0d240b67916cfa77f640aedaf1c87d50f6d
bjorn3 [Wed, 14 Apr 2021 17:01:51 +0000 (19:01 +0200)]
Sync from rust b203b0d240b67916cfa77f640aedaf1c87d50f6d

3 years agoAvoid file name formatting when debug file writing is disabled
bjorn3 [Sun, 11 Apr 2021 14:35:45 +0000 (16:35 +0200)]
Avoid file name formatting when debug file writing is disabled

3 years agoTime object file writing
bjorn3 [Sat, 10 Apr 2021 11:46:28 +0000 (13:46 +0200)]
Time object file writing

3 years agoMerge pull request #1159 from bjorn3/driver_refactorings
bjorn3 [Wed, 14 Apr 2021 14:36:42 +0000 (16:36 +0200)]
Merge pull request #1159 from bjorn3/driver_refactorings

Driver refactorings

3 years agoAdd some documentation
bjorn3 [Fri, 9 Apr 2021 09:55:46 +0000 (11:55 +0200)]
Add some documentation

3 years agoFix docs
bjorn3 [Fri, 9 Apr 2021 09:34:58 +0000 (11:34 +0200)]
Fix docs

3 years agoExtract create_jit_module function
bjorn3 [Thu, 8 Apr 2021 19:34:55 +0000 (21:34 +0200)]
Extract create_jit_module function

3 years agoMerge BACKEND_CONFIG and CURRENT_MODULE thread locals
bjorn3 [Thu, 8 Apr 2021 17:22:48 +0000 (19:22 +0200)]
Merge BACKEND_CONFIG and CURRENT_MODULE thread locals

3 years agoDon't unregister unwind tables after the JIT is done
bjorn3 [Thu, 8 Apr 2021 16:27:26 +0000 (18:27 +0200)]
Don't unregister unwind tables after the JIT is done

3 years agoUse maybe_create_entry_wrapper again in jit mode
bjorn3 [Thu, 8 Apr 2021 17:03:15 +0000 (19:03 +0200)]
Use maybe_create_entry_wrapper again in jit mode

This simplifies the jit driver a lot

3 years agoInline driver::codegen_crate
bjorn3 [Thu, 8 Apr 2021 19:26:20 +0000 (21:26 +0200)]
Inline driver::codegen_crate

3 years agoRemove CodegenCx::finalize and pass Module separately from CodegenCx
bjorn3 [Thu, 8 Apr 2021 20:01:39 +0000 (22:01 +0200)]
Remove CodegenCx::finalize and pass Module separately from CodegenCx

3 years agoDon't store TyCtxt in UnwindContext
bjorn3 [Thu, 8 Apr 2021 20:04:58 +0000 (22:04 +0200)]
Don't store TyCtxt in UnwindContext

3 years agoRe-use Context in codegen_shim
bjorn3 [Thu, 8 Apr 2021 16:08:20 +0000 (18:08 +0200)]
Re-use Context in codegen_shim

3 years agoEnable and disable some rust-analyzer diagnostics
bjorn3 [Thu, 8 Apr 2021 15:57:15 +0000 (17:57 +0200)]
Enable and disable some rust-analyzer diagnostics

3 years agoMerge pull request #1158 from bjorn3/isolate_mono_items_pr
bjorn3 [Wed, 14 Apr 2021 09:43:58 +0000 (11:43 +0200)]
Merge pull request #1158 from bjorn3/isolate_mono_items_pr

Isolate mono items

3 years agoDon't deduplicate anonymous allocations
bjorn3 [Thu, 8 Apr 2021 10:08:13 +0000 (12:08 +0200)]
Don't deduplicate anonymous allocations

3 years agoDon't deduplicate vtables between functions
bjorn3 [Wed, 7 Apr 2021 12:54:59 +0000 (14:54 +0200)]
Don't deduplicate vtables between functions

3 years agoUpdate Cranelift
bjorn3 [Wed, 14 Apr 2021 08:34:04 +0000 (10:34 +0200)]
Update Cranelift

3 years agoRustfmt
bjorn3 [Mon, 12 Apr 2021 10:09:05 +0000 (12:09 +0200)]
Rustfmt

3 years agoFix outdated crate names in compiler docs
pierwill [Wed, 7 Apr 2021 19:47:01 +0000 (14:47 -0500)]
Fix outdated crate names in compiler docs

Changes `librustc_X` to `rustc_X`, only in documentation comments.
Plain code comments are left unchanged.

Also fix incorrect file paths.

3 years agoCentralize all configuration into config.rs
bjorn3 [Wed, 7 Apr 2021 09:52:11 +0000 (11:52 +0200)]
Centralize all configuration into config.rs

3 years agoMove BackendConfig to config.rs
bjorn3 [Wed, 7 Apr 2021 09:02:54 +0000 (11:02 +0200)]
Move BackendConfig to config.rs

3 years agoSimplify write_metadata
bjorn3 [Wed, 7 Apr 2021 08:54:43 +0000 (10:54 +0200)]
Simplify write_metadata

3 years agoRustup to rustc 1.53.0-nightly (c051c5ddd 2021-04-06)
bjorn3 [Wed, 7 Apr 2021 08:16:01 +0000 (10:16 +0200)]
Rustup to rustc 1.53.0-nightly (c051c5ddd 2021-04-06)

3 years agoFixup previous commit
bjorn3 [Tue, 6 Apr 2021 11:59:54 +0000 (13:59 +0200)]
Fixup previous commit

3 years agoFix rustc test suite by ignoring rustdoc test
bjorn3 [Tue, 6 Apr 2021 11:14:45 +0000 (13:14 +0200)]
Fix rustc test suite by ignoring rustdoc test

3 years agoRustup to rustc 1.53.0-nightly (d32238532 2021-04-05)
bjorn3 [Tue, 6 Apr 2021 10:27:45 +0000 (12:27 +0200)]
Rustup to rustc 1.53.0-nightly (d32238532 2021-04-05)

3 years agoSync from rust 354cc751b74e813f180755fa67bebcb669825755
bjorn3 [Tue, 6 Apr 2021 10:20:12 +0000 (12:20 +0200)]
Sync from rust 354cc751b74e813f180755fa67bebcb669825755

3 years agoRevert "Build with `-Cpanic=unwind` by default"
bjorn3 [Wed, 31 Mar 2021 11:47:10 +0000 (13:47 +0200)]
Revert "Build with `-Cpanic=unwind` by default"

This reverts commit afe74d71e4c2f08696ade0de321a45f7442440d8. It
shouldn't have been pushed to master as it isn't ready yet.

3 years agoRemove the cold block optimization
bjorn3 [Wed, 31 Mar 2021 10:42:30 +0000 (12:42 +0200)]
Remove the cold block optimization

It isn't effective with the new backend framework

3 years agoRemove the stack2reg optimization completely
bjorn3 [Wed, 31 Mar 2021 10:34:01 +0000 (12:34 +0200)]
Remove the stack2reg optimization completely

It is broken and needs to be rewritten from scratch

3 years agoBuild with `-Cpanic=unwind` by default
bjorn3 [Wed, 31 Mar 2021 09:39:03 +0000 (11:39 +0200)]
Build with `-Cpanic=unwind` by default

This doesn't enable unwinding as cg_clif doesn't support it yet. It does
allow for linking to a cg_llvm compiled libstd.so, which uses
`-Cpanic=unwind`.