Uh oh!
There was an error while loading. Please reload this page.
Remove core dependency of profiler_builtins - #101009
Conversation
rust-highfive
commented
Aug 25, 2022
r? @jackh726 (rust-highfive has picked a reviewer for you, use r? to override) |
jyn514
commented
Aug 26, 2022
r? @ehuss but feel free to assign to me or Mark if you don't have time |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
24d44a1 to
97fb711Compareehuss
commented
Aug 26, 2022
I'm not sure this will work for build-std. Cargo doesn't build If the intent is to make it work with an already existing sysroot, I would like to avoid that approach. Ideally we want build-std to work without any pre-installed artifacts. Also, this seems to remove building profiler_builtins conditionally. Typically that is controlled via the |
1b634a5 to
0865283Compareprofiler_builtins to sysrootcore dependency of profiler_builtins0865283 to
64e5c40Compareldm0
commented
Aug 29, 2022
Ok, I reverted the dependency addition part of this PR. |
I can't find out the (Related links) |
Uh oh!
There was an error while loading. Please reload this page.
042ed64 to
de4b44dCompareehuss
commented
Aug 30, 2022
This still doesn't seem like it will work. When I try to compile for another target, I get Also, if this definitely is a |
bjorn3
commented
Aug 31, 2022
Making profiler_builtins a dependency of libcore would cause it to be built even if it isn't used right? And esepcially on targets that don't currently need a C compiler like wasm. You can always build it using -Zbuild-std=core,profiler_builtins, right? |
ehuss
commented
Aug 31, 2022
|
de4b44d to
5a69ed6Compareldm0
commented
Sep 2, 2022
I test this with the host target(
I think that make sense. But making Building profiler runtime into something like |
bors
commented
Sep 3, 2022
☔ The latest upstream changes (presumably #101361) made this pull request unmergeable. Please resolve the merge conflicts. |
5a69ed6 to
f8b7900Comparef8b7900 to
089b99dCompare089b99d to
1d53529Compare
This comment has been minimized.
This comment has been minimized.
1d53529 to
2ae928bComparerustbot
commented
Sep 4, 2022
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
ldm0
commented
Sep 5, 2022
ping @ehuss |
ehuss
commented
Sep 10, 2022
I'm a little unclear on this point. Isn't
I still think depending on having |
bjorn3
commented
Sep 10, 2022
Because it depends on libcore for providing all lang items that are necessary for doing anything useful. |
ehuss
commented
Sep 10, 2022
Ah, of course. For some reason I was thinking it was more fundamental than that. |
ldm0
commented
Sep 10, 2022
Fine, this PR might introduce reliance on |
This PR removes the
coredepdency ofprofiler_builtins, which is not needed.