Several runtime tests (which can be found by searching issues.targets for this issue number) fail to pass with this message:
Attempting to JIT compile method '[function name here]' while running in aot-only mode
Tests are run using MONO_ENV_OPTIONS=--full-aot.
FullAOT compilation uses these flags on x64:
MONO_ENV_OPTIONS="--aot=full,llvm,llvm-path=$MONO_PFX,mattr=sse4.2,mattr=popcnt,mattr=lzcnt,mattr=bmi,mattr=bmi2,mattr=pclmul,mattr=aes"
and these on arm64:
MONO_ENV_OPTIONS="--aot=full,llvm,llvm-path=$MONO_PFX,mattr=crc,mattr=crypto"