Uh oh!
There was an error while loading. Please reload this page.
Diverse offload fixes - #161968
Conversation
| ecx.path_global( | ||
| span, | ||
| [sym::std, sym::unimplemented].map(|s| Ident::new(s, span)).to_vec(), | ||
| [sym::core, sym::unimplemented].map(|s| Ident::new(s, span)).to_vec(), |
There was a problem hiding this comment.
this is not necessary if we compile the host with std, but ig it's still better to use core
There was a problem hiding this comment.
yes, there isn't really a reason to prevent offload to work in no-std code.
This comment has been minimized.
This comment has been minimized.
Confirmed to work on a server. |
Sa4dUs
commented
Sep 1, 2026
@bors r=ZuseZ4 |
Diverse offload fixes `HostMetadata` pass skips linking. Now, `offload_kernel` macro lowers to `core` instead of `std`. closes: rust-lang#161703 r? @ZuseZ4
Diverse offload fixes `HostMetadata` pass skips linking. Now, `offload_kernel` macro lowers to `core` instead of `std`. closes: rust-lang#161703 r? @ZuseZ4
…uwer Rollup of 11 pull requests Successful merges: - #151618 (rustdoc: add `--print` option) - #161287 (Update `icu_list` dependency to 2.3) - #161767 (change DEFAULT_STACK_SIZE to be 32MB on s390x) - #161968 (Diverse offload fixes) - #161971 (Remove -Zsaturating-float-casts flag) - #162071 (Fix ICE of getting item name from RPITIT) - #161209 (Rework `next_power_of_two` to always be `1 << …`) - #162073 (Change some `Infallible` to `!` in std) - #162086 (Remove `gate_check` from `AttributeStability::Unstable`) - #162102 (`alloc` crate: shrink undocumented `unsafe` blocks) - #162110 (make it clear that Range cannot represent arbitrary ranges)
Uh oh!
There was an error while loading. Please reload this page.
HostMetadatapass skips linking. Now,offload_kernelmacro lowers tocoreinstead ofstd.closes: #161703
r? @ZuseZ4