Commit Graph

2775 Commits

Author SHA1 Message Date
bjorn3
e7bc81cc77 Disable incr comp globally on CI 2022-08-05 12:57:19 +00:00
bjorn3
41d547892c Re-introduce test.sh as convenience wrapper around ./y.rs test 2022-08-05 12:13:57 +00:00
bjorn3
012acdf8ae Update dependencies 2022-08-05 12:13:36 +00:00
bjorn3
9e1aa9c5f7
Merge pull request #1254 from afonso360/float-intrinsics-fix
Use native cranelift instructions when lowering float intrinsics
2022-08-04 18:48:09 +02:00
Afonso Bordado
8c8fc6af33 Use native cranelift instructions when lowering float intrinsics 2022-08-03 13:36:50 +01:00
bjorn3
0c5b61fca8
Merge pull request #1253 from afonso360/msvc-nosysroot
Fix `no_sysroot` testsuite for MSVC environments
2022-08-01 22:15:02 +02:00
Afonso Bordado
c9bb51961c Misc Cleanups 2022-08-01 19:41:08 +01:00
Afonso Bordado
e0fab632f1 Add windows support to mini_core tests 2022-08-01 11:49:53 +01:00
Afonso Bordado
8f5330e28c Fix mini_core printf linking on windows
Link against legacy_stdio_definitions on windows which provides printf as a linkable symbol.
2022-08-01 09:57:53 +01:00
Afonso Bordado
46fa744e69 Disable JIT on windows 2022-08-01 09:49:54 +01:00
bjorn3
231f7c6a21
Merge pull request #1252 from afonso360/tests-rs
Move test script to y.rs
2022-07-31 12:22:22 +02:00
bjorn3
0db9094231 Rustfmt 2022-07-31 10:15:56 +00:00
Afonso Bordado
d489fb9a59 Don't pass RUSTFLAGS to rustc in tests 2022-07-30 23:07:03 +01:00
Afonso Bordado
f588bfa095 Assume host target in get_file_name 2022-07-30 23:04:59 +01:00
Afonso Bordado
5d7936650d Don't run tests on Windows CI 2022-07-30 22:58:34 +01:00
Afonso Bordado
2f1380036c Cleanup meaningless changes 2022-07-30 22:32:06 +01:00
Afonso Bordado
bec651ef47 Compare lines iterator instead of full output
This avoids differences in line endings.
2022-07-30 22:05:39 +01:00
Afonso Bordado
78372d6b41 Log cloned regex output 2022-07-30 21:08:59 +01:00
Afonso Bordado
6ea108bae3 Split flags whitespace
This is probably the wrong way to do this...
2022-07-30 21:08:21 +01:00
Afonso Bordado
393613439a Fix some cross compilation scenarios in test runner 2022-07-30 20:28:55 +01:00
Afonso Bordado
f8747f0a53 Fix aarch64 cross compilation 2022-07-30 20:24:04 +01:00
Afonso Bordado
8ec3d20882 Fix test.regex test 2022-07-30 20:02:28 +01:00
Afonso Bordado
aa2f4072f6 Use Windows Env vars in CI 2022-07-30 20:02:07 +01:00
Afonso Bordado
ae4fe1d57d Use get_file_name in tests 2022-07-30 14:07:02 +01:00
Afonso Bordado
437b441ff5 Use get_file_name everywhere for better cross compilation support 2022-07-30 13:06:37 +01:00
Afonso Bordado
d0599350a7 Misc cleanups to the test runner 2022-07-30 12:50:05 +01:00
Afonso Bordado
c115933fb7 Run tests on windows CI 2022-07-30 12:48:46 +01:00
Afonso Bordado
3ce83dc469 Move test.sh to y.rs test 2022-07-30 11:15:51 +01:00
Afonso Bordado
6fd1660650 Add Windows build artifacts to .gitignore 2022-07-29 08:39:18 +01:00
Afonso Bordado
49e773183e
Update to cranelift 0.86 (#1250) 2022-07-28 21:08:05 +02:00
bjorn3
e34bb03197 Rustup to rustc 1.64.0-nightly (4d6d601c8 2022-07-26) 2022-07-27 17:41:41 +02:00
bjorn3
72c69a829f Merge branch 'sync_from_rust' 2022-07-26 18:54:54 +02:00
bjorn3
a6260ecd81 Merge commit 'd3a2366ee877075c59b38bd8ced55f224fc7ef51' into sync_cg_clif-2022-07-26 2022-07-26 18:53:46 +02:00
bjorn3
d3a2366ee8 Implement some more llvm float compare intrinsic options 2022-07-26 16:27:14 +00:00
bjorn3
d3099a40c7 Outline a bug! invocation
This reduces the amount of llvm ir lines for intrinsic related code from
23801 to 20478.
2022-07-26 16:26:35 +00:00
bjorn3
54eb0d992a Fully remove the intrinsic_match macro 2022-07-26 16:09:41 +00:00
bjorn3
e151964a70 Start moving away from the intrinsic_match macro
It isn't clear most people other than me and it blocks formatting by
rustfmt.
2022-07-26 15:17:34 +00:00
bors
1fb02e0409 Auto merge of #99745 - JohnTitor:rollup-lvrie64, r=JohnTitor
Rollup of 7 pull requests

Successful merges:

 - #98211 (Implement `fs::get_path` for FreeBSD.)
 - #99353 (Slightly improve mismatched GAT where clause error)
 - #99593 (Suggest removing the tuple struct field for the unwrapped value)
 - #99615 (Remove some explicit `self.infcx` for `FnCtxt`, which already derefs into `InferCtxt`)
 - #99711 (Remove reachable coverage without counters)
 - #99718 (Avoid `&str`/`Symbol` to `String` conversions)
 - #99720 (Sync rustc_codegen_cranelift)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
2022-07-26 04:28:41 +00:00
bors
42dd106b67 Auto merge of #98989 - dpaoliello:rawdylibbin, r=michaelwoerister
Enable raw-dylib for bin crates

Fixes #93842

When `raw-dylib` is used in a `bin` crate, we need to collect all of the `raw-dylib` functions, generate the import library and add that to the linker command line.

I also changed the tests so that 1) the C++ dlls are created after the Rust dlls, thus there is no chance of accidentally using them in the Rust linking process and 2) disabled generating import libraries when building with MSVC.
2022-07-26 01:47:34 +00:00
bjorn3
3deceedbc3 Merge branch 'sync_from_rust' 2022-07-25 16:28:35 +02:00
bjorn3
640c3f730a Merge commit 'c19edfd71a1d0ddef86c2c67fdb40718d40a72b4' into sync_cg_clif-2022-07-25 2022-07-25 16:07:57 +02:00
bjorn3
c19edfd71a Rustup to rustc 1.64.0-nightly (7fe022f5a 2022-07-24) 2022-07-25 16:06:39 +02:00
bjorn3
4e1155fbf1 Sync from rust 2f320a224e 2022-07-25 16:00:44 +02:00
bjorn3
d7fc56323e Update Cranelift to 0.85.3
This fixes a couple of potential miscompilations. None affect cg_clif on
x86_64, but one may affect cg_clif on AArch64.
2022-07-25 13:50:43 +00:00
bjorn3
722733c0c6
Merge pull request #1247 from bjorn3/melt_some_ice
Melt some ICE
2022-07-25 15:46:04 +02:00
bjorn3
fd2669d1e9 Fix -Zpolymorphize 2022-07-25 13:17:53 +00:00
bjorn3
7ef2ba8f7b Fix size_of_val and min_align_of_val for truly unsized types 2022-07-25 12:47:49 +00:00
bjorn3
39ee14d253 Error when trying to define variadic functions
They aren't yet supported by Cranelift
2022-07-25 11:18:34 +00:00
bors
745193d197 Auto merge of #99251 - cuviper:hashbrown-0.12, r=Mark-Simulacrum
Upgrade indexmap and thorin-dwp to use hashbrown 0.12

This removes the last dependencies on hashbrown 0.11.

This also upgrades to hashbrown 0.12.3 to fix a double-free (#99372).
2022-07-24 04:03:29 +00:00
bjorn3
3207c9faec Report an error on incompatible symbol definitions 2022-07-22 19:03:06 +00:00