<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/ui/sanitizer, branch perf-tmp</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-09-26T13:33:48+00:00</updated>
<entry>
<title>Ignore more failing ui tests for GCC backend</title>
<updated>2025-09-26T13:33:48+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2025-09-26T11:59:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a535c7be5444fb6584eecc99f53e6cdb710ff70f'/>
<id>urn:sha1:a535c7be5444fb6584eecc99f53e6cdb710ff70f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>-Zsanitize and -Zsanitizer-cfi-normalize-integers flags are now target modifiers with custom consistency check function</title>
<updated>2025-08-21T09:08:00+00:00</updated>
<author>
<name>Andrew Zhogin</name>
<email>andrew.zhogin@gmail.com</email>
</author>
<published>2025-03-20T05:43:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6d637dfeccd7d22523e584203e666535db878165'/>
<id>urn:sha1:6d637dfeccd7d22523e584203e666535db878165</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove the no_sanitize attribute in favor of sanitize</title>
<updated>2025-08-18T08:45:28+00:00</updated>
<author>
<name>Bastian Kersting</name>
<email>bkersting@google.com</email>
</author>
<published>2025-06-18T13:47:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=95bdb34494ad795f552cab7a0eb7bfd2e98ef033'/>
<id>urn:sha1:95bdb34494ad795f552cab7a0eb7bfd2e98ef033</id>
<content type='text'>
This removes the #[no_sanitize] attribute, which was behind an unstable
feature named no_sanitize. Instead, we introduce the sanitize attribute
which is more powerful and allows to be extended in the future (instead
of just focusing on turning sanitizers off).

This also makes sanitize(kernel_address = ..) attribute work with
-Zsanitize=address

To do it the same as how clang disables address sanitizer, we now
disable ASAN on sanitize(kernel_address = "off") and KASAN on
sanitize(address = "off").

The same was added to clang in https://reviews.llvm.org/D44981.
</content>
</entry>
<entry>
<title>Implement the #[sanitize(..)] attribute</title>
<updated>2025-08-18T08:30:00+00:00</updated>
<author>
<name>Bastian Kersting</name>
<email>bkersting@google.com</email>
</author>
<published>2025-06-18T12:53:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3ef065bf872ce62a18336dca0daf47b3e9f7da64'/>
<id>urn:sha1:3ef065bf872ce62a18336dca0daf47b3e9f7da64</id>
<content type='text'>
This change implements the #[sanitize(..)] attribute, which opts to
replace the currently unstable #[no_sanitize]. Essentially the new
attribute works similar as #[no_sanitize], just with more flexible
options regarding where it is applied. E.g. it is possible to turn
a certain sanitizer either on or off:
`#[sanitize(address = "on|off")]`

This attribute now also applies to more places, e.g. it is possible
to turn off a sanitizer for an entire module or impl block:
```rust
\#[sanitize(address = "off")]
mod foo {
    fn unsanitized(..) {}

    #[sanitize(address = "on")]
    fn sanitized(..) {}
}

\#[sanitize(thread = "off")]
impl MyTrait for () {
    ...
}
```

This attribute is enabled behind the unstable `sanitize` feature.
</content>
</entry>
<entry>
<title>Add `ignore-backends` annotations in failing GCC backend ui tests</title>
<updated>2025-07-23T11:48:04+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2025-07-23T11:31:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=de93fb13feeb6263bef61d4035e78ab8651c5714'/>
<id>urn:sha1:de93fb13feeb6263bef61d4035e78ab8651c5714</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Require `run-fail` ui tests to have an exit code (`SIGABRT` not ok)</title>
<updated>2025-07-19T16:44:07+00:00</updated>
<author>
<name>Martin Nordholts</name>
<email>martin.nordholts@codetale.se</email>
</author>
<published>2025-06-25T05:56:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e1d4f2a0c297690ddfc24815de57539f532f2471'/>
<id>urn:sha1:e1d4f2a0c297690ddfc24815de57539f532f2471</id>
<content type='text'>
And introduce two new directives for ui tests:
* `run-crash`
* `run-fail-or-crash`

Normally a `run-fail` ui test like tests that panic shall not be
terminated by a signal like `SIGABRT`. So begin having that as a hard
requirement.

Some of our current tests do terminate by a signal/crash however.
Introduce and use `run-crash` for those tests. Note that Windows crashes
are not handled by signals but by certain high bits set on the process
exit code. Example exit code for crash on Windows: `0xc000001d`.
Because of this, we define "crash" on all platforms as "not exit with
success and not exit with a regular failure code in the range 1..=127".

Some tests behave differently on different targets:
* Targets without unwind support will abort (crash) instead of exit with
  failure code 101 after panicking. As a special case, allow crashes for
  `run-fail` tests for such targets.
* Different sanitizer implementations handle detected memory problems
  differently. Some abort (crash) the process while others exit with
  failure code 1. Introduce and use `run-fail-or-crash` for such tests.
</content>
</entry>
<entry>
<title>Workaround a MemorySanitizer test issue</title>
<updated>2025-07-04T21:47:28+00:00</updated>
<author>
<name>Scott McMurray</name>
<email>scottmcm@users.noreply.github.com</email>
</author>
<published>2025-07-04T21:47:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d020e38fa229d184026ac9b1a7ea73b9f99e8e7a'/>
<id>urn:sha1:d020e38fa229d184026ac9b1a7ea73b9f99e8e7a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Detect more cases of unused_parens around types</title>
<updated>2025-07-01T06:56:20+00:00</updated>
<author>
<name>Benjamin Schulz</name>
<email>benjamin.schulz@sap.com</email>
</author>
<published>2025-06-04T17:03:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7d6764a45bd05913e7f34a8fbba12bf384b0269a'/>
<id>urn:sha1:7d6764a45bd05913e7f34a8fbba12bf384b0269a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>compiletest: Improve diagnostics for line annotation mismatches</title>
<updated>2025-06-23T18:30:56+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2025-05-03T12:53:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7a4f09c2240ef2eb4d1e383f0d471b85ce8d0720'/>
<id>urn:sha1:7a4f09c2240ef2eb4d1e383f0d471b85ce8d0720</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change __rust_no_alloc_shim_is_unstable to be a function</title>
<updated>2025-06-16T17:54:07+00:00</updated>
<author>
<name>Daniel Paoliello</name>
<email>danpao@microsoft.com</email>
</author>
<published>2025-05-15T23:38:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6906b44e1c667705ce04626901a75d51f4910de3'/>
<id>urn:sha1:6906b44e1c667705ce04626901a75d51f4910de3</id>
<content type='text'>
</content>
</entry>
</feed>
