Mads Marquart
c4d642616d
Set target_vendor = "openwrt"
...
On mips64-openwrt-linux-musl target.
2025-03-01 04:51:03 +01:00
Flakebi
56795fb77a
Add amdgpu target
...
Add target and compile the amdgpu llvm backend.
2025-01-31 09:59:41 +01:00
Urgau
c5ea75a5df
Filter well known names from check-cfg diagnostics
2025-01-25 12:27:33 +01:00
YunQiang Su
51dc350178
fix tests
2025-01-05 13:00:26 +08:00
Urgau
e8a4792b3e
Make the test cfg a "userspace" check-cfg
2025-01-02 16:49:55 +01:00
Kornel
88b9edc9db
fmt-debug option
...
Allows disabling `fmt::Debug` derive and debug formatting.
2024-08-28 23:32:40 +01:00
Xiretza
2482f3c17c
Convert unexpected_cfg_{name,value} to struct diagnostics
2024-05-21 20:16:39 +00:00
Zalathar
14d56e8338
Fix test problems discovered by the revision check
...
Most of these changes either add revision names that were apparently missing,
or explicitly mark a revision name as currently unused.
2024-05-09 14:47:09 +10:00
Urgau
f90b15b7fc
Add rustfmt cfg to well known cfgs list
2024-05-05 14:30:35 +02:00
Urgau
517374150c
compiletest: add no-auto-check-cfg directive
...
this directive prevents compiletest from adding any implicit and
automatic --check-cfg arguments
2024-05-04 11:30:38 +02:00
Urgau
a20de73ccf
Move --check-cfg documentation to stable books
2024-04-15 21:49:56 +02:00
Urgau
909fcfcb6a
Stabilize checking of cfgs at compile-time: --check-cfg option
2024-04-15 21:49:55 +02:00
Ben Kimock
a7912cb421
Put checks that detect UB under their own flag below debug_assertions
2024-04-06 11:21:47 -04:00
Guillaume Gomez
33e9fc5d8d
Update ui tests to take into account the new clippy cfg
2024-02-15 14:18:19 +01:00
Urgau
29afbbd5a9
Exclude well known names from showing a suggestion in check-cfg
2024-01-12 18:47:05 +01:00
Urgau
5345a166fe
Add more suggestion to unexpected cfg names and values
2023-12-13 17:48:04 +01:00
Nicholas Nethercote
22b534de4f
Rearrange default_configuration and CheckCfg::fill_well_known.
...
There are comments saying these two functions should be kept in sync,
but they have very different structures, process symbols in different
orders, and there are some inconsistencies.
This commit reorders them so they're both mostly processing symbols in
alphabetical order, which makes cross-checking them a lot easier. The
commit also adds some macros to factor out repetitive code patterns.
Plus it adds `sanitizer_cfi_normalize_{integers,pointers}` to
`fill_well_known`, which were missing.
The commit also moves the handling of `sym::test` out of
`build_configuration` into `default_configuration`, where all the other
symbols are handled.
2023-12-11 10:04:47 +11:00
Urgau
3f0369e0f2
Remove deprecated --check-cfg names() and values() syntax
2023-12-05 13:25:11 +01:00
Urgau
9f15acec47
Remove feature from the list of well known check-cfg name
2023-11-21 19:06:58 +01:00
Urgau
a5658e6de8
Update --check-cfg tests that had old --cfg warning
2023-11-18 12:21:58 +01:00
Urgau
fc78d78988
MCP636: Adapt check-cfg tests to the new syntax
2023-10-13 13:51:03 +02:00