Open workingjubilee opened 1 year ago
are neither #![no_core] or #![no_std], and do not -Zbuild-std are testing assembly generation of the compiler, and especially including asm!
Could you elaborate? I think that the test in my recent PR checks both of these boxes but is still useful.
As an aside, do you think this should be implemented in tidy
or compiletest
itself?
That entire list is a single logical constraint.
No idea on where this code could/should live, that feels like a vibes decision.
compiletest is used out of tree (sort of) so probably tidy is more appropriate for this kind of thing.
There are assembly tests we know in advance are busted.
They
--target
in the compiletest headersonly-{arch}
in the compiletest headers#![no_core]
or#![no_std]
, and do not-Zbuild-std
asm!
We could lint these automatically and probably should.