-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Introduce CompileMonoItem DepNode #84123
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
(rust-highfive has picked a reviewer for you, use r? to override) |
Can you expand how you plan to use this DepNode? Why isn't a query not sufficient? |
This is similar to |
r? @wesleywiser or @davidtwco maybe |
@bors r+ |
📌 Commit 21f13af has been approved by |
⌛ Testing commit 21f13af with merge 77ab14be6a948c8c34ff011e12caafb6a6a631d3... |
The job Click to see the possible cause of the failure (guessed by this bot)
|
💔 Test failed - checks-actions |
Seems to be spurious. @bors retry |
Rollup of 7 pull requests Successful merges: - rust-lang#84123 (Introduce CompileMonoItem DepNode) - rust-lang#84126 (Enable sanitizers for x86_64-unknown-linux-musl) - rust-lang#84168 (Lower async fn in traits.) - rust-lang#84256 (doc: use U+2212 for minus # floating-point -0.0 remarks) - rust-lang#84291 (fix aliasing violations in thread_local_const_init) - rust-lang#84313 (fix suggestion for unsized function parameters) - rust-lang#84330 (Remove unused footer section) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This is likely required for allowing efficient hot code swap support in cg_clif's jit mode. My prototype currently requires re-compiling all functions, which is both slow and uses a lot of memory as there is not support for freeing the memory used by replaced functions yet.
cc https://github.com/bjorn3/rustc_codegen_cranelift/issues/1087