Commit Graph

2795 Commits

Author SHA1 Message Date
Afonso Bordado
484041cefe
Rename abi-checker patch (#1262) 2022-08-13 11:02:16 +02:00
bjorn3
8c407e0fb4
Merge pull request #1255 from afonso360/abi-checker
Add abi-checker to y.rs and run it on CI
2022-08-13 08:34:55 +02:00
Afonso Bordado
69c6749aee Disable some abi-checker tests 2022-08-12 23:58:24 +01:00
Afonso Bordado
0706df5f8c Update abi-checker version 2022-08-12 21:47:36 +01:00
bjorn3
57818ce824
Merge pull request #1260 from uweigand/s390x-ignore-aligntest
Ignore ptr_bitops_tagging test on s390x
2022-08-12 14:40:21 +02:00
Ulrich Weigand
8bcab19018 Ignore ptr_bitops_tagging test on s390x
This test requires dynamic stack re-alignment on s390x, which is
currently unsupported (see issue #1258).
2022-08-12 13:46:31 +02:00
bjorn3
64c73d0b3c
Merge pull request #1257 from uweigand/memcpy-align
Fix alignment flag for emit_small_memory_copy
2022-08-12 13:14:14 +02:00
Ulrich Weigand
aca05cf603 Fix alignment flag for emit_small_memory_copy
Do not unconditionally pass the "aligned" MemFlag when calling
emit_small_memory_copy.  Instead, allow the back end to rely on
the alignment info passed separately to this routine.
2022-08-12 12:54:41 +02:00
bjorn3
fa6480e43d Remove most trap functions and remove all trapnz usages 2022-08-09 12:27:34 +00:00
bjorn3
526553e4a3 Rustup to rustc 1.65.0-nightly (d394408fb 2022-08-07) 2022-08-08 18:30:01 +02:00
bjorn3
7368f5601e Sync from rust f03ce30962 2022-08-08 17:01:38 +02:00
Afonso Bordado
7610be478f Move abi-checker to y.rs test 2022-08-06 21:24:38 +01:00
Afonso Bordado
e5ba71a71b Pass all pairs to abi-checker 2022-08-06 20:51:47 +01:00
Afonso Bordado
569312278f Add abi-checker to clean_all.sh 2022-08-06 20:51:20 +01:00
Afonso Bordado
fb6362e093 Test adding abi-checker to CI 2022-08-06 16:20:08 +01:00
Afonso Bordado
3bd9821342 Initial ABI Checker support 2022-08-06 15:56:37 +01:00
bjorn3
3c97227a43 Fix previous commit 2022-08-05 13:17:13 +00:00
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
451817e48f Introduce an ArchiveBuilderBuilder
This avoids monomorphizing all linker code for each codegen backend and
will allow passing in extra information to the archive builder from the
codegen backend.
2022-07-28 09:08:47 +00:00
bjorn3
34b37e76dd Inline inject_dll_import_lib 2022-07-28 08:43:15 +00:00
bjorn3
e0697a309d Move output argument from ArchiveBuilder::new to .build() 2022-07-28 08:39:19 +00:00