Disable cfg check for the recently-merged target features to allow stdarch update#1768
Conversation
|
@sayantn |
|
These unknown cfg errors are obtained when stdarch is built as a part of libstd, by itself stdarch should compile fine - the bootstrapping architecture of rustc creates the problem because the stage0 compiler doesn't yet know about those new target features. It should be good to revert once a stdarch update gets merged, or the bootstrap version gets bumped |
I think this could be handled by the special |
|
afaik this repo doesn't use |
…nieu Update stdarch submodule rust-lang/stdarch#1768 is needed to unblock the `cg_gcc` current sync so this PR updates the `stdarch` submodule. cc `@antoyo` r? `@Amanieu`
The stdarch update is currently giving doc errors, which #1767 fixes. But then it will give unknown cfg errors due to the recently added amx and riscv target features, so this pr temporarily disables those checks. Revert after the bump is successful