Activate checking code for ASM feature gate. Fix tests
auto merge of #10009 : LeoTestard/rust/asm-feature-gated, r=alexcrichton

Suite of #9991