-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove core
dependency of profiler_builtins
#101009
Conversation
r? @jackh726 (rust-highfive has picked a reviewer for you, use r? to override) |
r? @ehuss but feel free to assign to me or Mark if you don't have time |
24d44a1
to
97fb711
Compare
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
0865283
Compare
profiler_builtins
to sysrootcore
dependency of profiler_builtins
0865283
to
64e5c40
Compare
Ok, I reverted the dependency addition part of this PR. |
I can't find out the (Related links) |
042ed64
to
de4b44d
Compare
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 |
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? |
|
de4b44d
to
5a69ed6
Compare
I test this with the host target(
I think that make sense. But making Building profiler runtime into something like |
☔ The latest upstream changes (presumably #101361) made this pull request unmergeable. Please resolve the merge conflicts. |
5a69ed6
to
f8b7900
Compare
f8b7900
to
089b99d
Compare
089b99d
to
1d53529
Compare
This comment has been minimized.
This comment has been minimized.
1d53529
to
2ae928b
Compare
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
ping @ehuss |
I'm a little unclear on this point. Isn't
I still think depending on having |
Because it depends on libcore for providing all lang items that are necessary for doing anything useful. |
Ah, of course. For some reason I was thinking it was more fundamental than that. |
Fine, this PR might introduce reliance on |
This PR removes the
core
depdency ofprofiler_builtins
, which is not needed.