-
Notifications
You must be signed in to change notification settings - Fork 16
Description
On AMD amd64, build-rust happily builds a fully functioning nightly. On Intel amd64, however, nightly dies with an "illegal instruction" which looks to me like an IBT related failure. I guess this relates to at least one of the patch-compiler_rustc_session_src_options_rs or patch-vendor_psm_src_arch_x86_64_s patches in ports for rustc?
Unfortunately, my naive attempt to patch those in leads to nightly failing to build, complaining that "directory sources are not intended to be edited, if modifications are required then it is recommended that [patch] is used with a forked copy of the source".
I wonder if build-rust can patch these things in itself, so that nightly (hopefully) builds on IBT machines (which I guess is modern Intel and some-modern Arm CPUs?).