Ralf Jung
c9b207eba6
extend a comment in readlink
2022-07-09 12:49:37 -04:00
bors
6bdc5d6f4c
Auto merge of #2348 - RalfJung:ui-test, r=RalfJung
...
ui_test: require colon after command
Turns out we already use colons everywhere properly.
Also rename ui_test::comments to parser. I think that better describes its contents. :)
2022-07-09 11:51:32 +00:00
Ralf Jung
2850db9f6b
typo
...
Co-authored-by: Oli Scherer <github35764891676564198441@oli-obk.de>
2022-07-09 07:51:06 -04:00
Ralf Jung
d260dffa19
rename ui_test::comments → parser
2022-07-08 17:18:17 -04:00
Ralf Jung
fdffaf740b
ui_test: require colon after command
2022-07-08 17:17:44 -04:00
bors
7a6a812794
Auto merge of #2332 - rust-lang:slash_slash_at, r=oli-obk
...
More robust comment parsing
fixes #2170
I haven't ported the entire test suite yet. Once we've done that, I will remove the old parsing system (or in fact, turn them into errors so that accidental usage of old-style comments will be detected)
2022-07-08 16:09:06 +00:00
Oli Scherer
6e106617f1
Port all tests
2022-07-08 16:08:32 +00:00
Oli Scherer
e4f7c6845c
Hide regular backtrace information from user-facing errors
2022-07-08 15:55:37 +00:00
Oli Scherer
1597cec887
Documentation
2022-07-08 15:55:37 +00:00
Oli Scherer
334aa3d7f8
Add FIXME
2022-07-08 15:55:37 +00:00
Oli Scherer
af798232eb
Rustfmt
2022-07-08 15:55:37 +00:00
Oli Scherer
9b71180e52
Create a proper normalization regex parser
2022-07-08 15:55:37 +00:00
Oli Scherer
bc07c19961
Explain tests::init
function
2022-07-08 15:55:37 +00:00
Oli Scherer
a1e0d0df79
Add some comments
2022-07-08 15:55:37 +00:00
Oli Scherer
cc35d809c1
Remove an outdated comment
2022-07-08 15:55:37 +00:00
Oli Scherer
eab02b69e5
rustfmt
2022-07-08 15:55:37 +00:00
Oli Scherer
f15a56d9bc
Implement a proper command parser...
...
... that grabs things from the front instead of splitting at spaces and colons and hoping for the best
2022-07-08 15:55:37 +00:00
Oli Scherer
63916d6f04
Document all the things
2022-07-08 15:55:37 +00:00
Oli Scherer
54b6b03410
Actually use eyre and get rid of the ad-hoc macros emulating error handling
2022-07-08 15:55:37 +00:00
Oli Scherer
570032b0dd
Introduce a proper error handling framework
2022-07-08 15:55:37 +00:00
Oli Scherer
b3e64c252a
Revert testing ui_test before ui tests
2022-07-08 15:55:37 +00:00
Oli Scherer
389915e09b
Replace all //error-pattern comments with strict syntax and fix other comments in the same files
2022-07-08 15:55:37 +00:00
Oli Scherer
4bd4838c15
Implement strict comment parsing for ui tests
2022-07-08 15:27:09 +00:00
bors
cde87d1823
Auto merge of #2345 - RalfJung:rustup, r=RalfJung
...
rustup
2022-07-08 00:13:26 +00:00
Ralf Jung
23d1f1a5a3
rustup
2022-07-07 20:12:30 -04:00
bors
622963a2df
Auto merge of #2343 - RalfJung:comment, r=RalfJung
...
fix comment in ./miri
pointed out in https://github.com/rust-lang/miri/pull/2288#discussion_r915445912
2022-07-07 12:20:53 +00:00
Ralf Jung
52abae6826
fix comment in ./miri
2022-07-07 08:20:24 -04:00
bors
e7025223db
Auto merge of #2342 - RalfJung:dead-opt, r=RalfJung
...
remove a dead optimization
This became dead code when I removed "Untagged".
2022-07-07 11:43:38 +00:00
Ralf Jung
6b3986f44d
remove a dead optimization
2022-07-07 07:42:31 -04:00
bors
64dec227bd
Auto merge of #2314 - RalfJung:unsized, r=RalfJung
...
adjust for removed unsized_locals
The Miri side of https://github.com/rust-lang/rust/pull/98831
2022-07-07 02:55:28 +00:00
Ralf Jung
b6602f5d11
rustup
2022-07-06 22:55:12 -04:00
Ralf Jung
5fed3ebc26
adjust code for copy_op changes
2022-07-06 21:40:31 -04:00
Ralf Jung
e9176c747e
test for better error location on stack pop
2022-07-06 21:40:31 -04:00
Ralf Jung
e5df0cc770
adjust tests for removal of unsized_locals
2022-07-06 21:40:31 -04:00
bors
4e4607bffc
Auto merge of #2341 - RalfJung:rustup, r=RalfJung
...
rustup; ptr atomics
Adds support for the operations added in https://github.com/rust-lang/rust/pull/96935 .
I made the pointer-binops always return the provenance of the *left* argument; `@thomcc` I hope that is what you intended. I have honestly no idea if it has anything to do with what LLVM does...
I also simplified our pointer comparison code while I was at it -- now that *all* comparison operators support wide pointers, we can unify those branches.
2022-07-07 01:40:22 +00:00
Ralf Jung
d5f1c26380
rustup; ptr atomics
2022-07-06 21:38:52 -04:00
bors
8c7114841c
Auto merge of #2339 - RalfJung:rustup, r=RalfJung
...
rustup
2022-07-06 18:07:57 +00:00
Ralf Jung
501a6b4687
rustup
2022-07-06 14:06:15 -04:00
bors
7d5ae091cb
Auto merge of #2338 - RalfJung:format, r=RalfJung
...
tweak format strings
2022-07-06 13:49:46 +00:00
Ralf Jung
907a003f14
tweak format strings
2022-07-06 09:47:48 -04:00
bors
36d8f5cbfc
Auto merge of #2336 - RalfJung:wide-ptr-compare, r=RalfJung
...
fix comparing wide raw pointers
Fixes https://github.com/rust-lang/rust/issues/96169
However I am not sure if these are the correct semantics. I'll wait for confirmation in that issue.
2022-07-06 12:16:25 +00:00
bors
6fcf4826de
Auto merge of #2337 - RalfJung:rustup, r=RalfJung
...
rustup
Adds a regression test for https://github.com/rust-lang/rust/issues/96185
2022-07-06 02:30:17 +00:00
Ralf Jung
de2915bba7
rustup
2022-07-05 22:29:38 -04:00
Ralf Jung
6c8ad4abc9
fix comparing wide raw pointers
2022-07-05 21:21:02 -04:00
bors
1118d94bdf
Auto merge of #2335 - RalfJung:rustup, r=RalfJung
...
rustup
2022-07-05 22:17:31 +00:00
Ralf Jung
f3f4bafa1b
rustup
2022-07-05 18:16:20 -04:00
bors
35399c6a5d
Auto merge of #2323 - RalfJung:box-is-special, r=RalfJung
...
handle Box with allocators
This is the Miri side of https://github.com/rust-lang/rust/pull/98847 .
Thanks `@DrMeepster` for doing most of the work of getting this test case to pass in Miri. :)
2022-07-05 12:35:03 +00:00
Ralf Jung
2931e0fd63
handle Box with allocators
2022-07-05 08:34:41 -04:00
bors
1a60a7dc89
Auto merge of #2334 - RalfJung:range, r=RalfJung
...
we don't need HexRange any more
2022-07-05 11:56:14 +00:00
Ralf Jung
a07398d441
we don't need HexRange any more
2022-07-05 07:38:42 -04:00