mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 03:07:24 +03:00
5183d8f15d
Port `#[instruction_set]` to attribute parser Please note the test changes, and deprecation of `E0778` and `E0779` In my opinion, all errors related to this attribute are improved I think, except for if you have `#[instruction_set(arm::)]` in which case there's an `error: expected identifier, found <eof>`, which is quite unhelpful I think, but this seems to be a limitation of the general attribute parsing flow r? `@JonathanBrouwer`
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.