1 An unknown argument was given to the `instruction_set` attribute.
3 Erroneous code example:
6 #![feature(isa_attribute)]
8 #[instruction_set(intel::x64)] // error: invalid argument
13 The `instruction_set` attribute only supports two arguments currently:
18 All other arguments given to the `instruction_set` attribute will return this
22 #![feature(isa_attribute)]
24 #[cfg_attr(target_arch="arm", instruction_set(arm::a32))] // ok!
29 For more information see the [`instruction_set` attribute][isa-attribute]
30 section of the Reference.
32 [isa-attribute]: https://doc.rust-lang.org/reference/attributes/codegen.html