Generate symbols.o for proc-macros too#142641
Conversation
8d4e4ef to
3d5a656
Compare
|
|
|
This PR modifies cc @jieyouxu Some changes occurred in compiler/rustc_codegen_ssa |
|
@bors r+ |
|
Actually, can you add a ignore-cross-compile? This can be a host-only test, right? (Context: we're trying to fix run-make to cross-by-default.) |
|
(r=me after) |
|
If run_make_support implicitly adds |
|
Hm right. I'll revisit the directives, but no need to block this PR on that. |
|
@bors r+ |
|
Actually, since this is not in a rollup yet, I'd like to try land #139244 first (that has been a long-standing problem). I think this might still need sth like after #139244, @bors r- |
3d5a656 to
bd2dd25
Compare
|
Disabled the test when cross-compiling to match other proc-macro run-make tests. @rustbot ready |
|
Right. |
…youxu Generate symbols.o for proc-macros too To ensure used statics are functioning correctly for proc-macros too.
Rollup of 8 pull requests Successful merges: - #140622 (compiletest: Improve diagnostics for line annotation mismatches) - #142641 (Generate symbols.o for proc-macros too) - #142695 (Port `#[rustc_skip_during_method_dispatch]` to the new attribute system) - #142742 ([win][aarch64] Fix linking statics on Arm64EC, take 2) - #142894 (phantom_variance_markers: fix identifier usage in macro) - #142928 (Fix hang in --print=file-names in bootstrap) - #142930 (Account for beta revisions when normalizing versions) - #142932 (rustdoc-json: Keep empty generic args if parenthesized) r? `@ghost` `@rustbot` modify labels: rollup
…youxu Generate symbols.o for proc-macros too To ensure used statics are functioning correctly for proc-macros too.
|
Failed in #142942 (comment) @bors r- |
To ensure used statics are functioning correctly for proc-macros too.
cb88811 to
2bb98e2
Compare
|
Marked the test as ignored on Windows as @rustbot ready |
|
Huh, thanks. |
Rollup of 11 pull requests Successful merges: - #142021 (Doc: clarify priority of lint level sources) - #142367 (Add regression test for #137857 to ensure that we generate intra doc links for extern crate items.) - #142641 (Generate symbols.o for proc-macros too) - #142889 (Clarify doc comment on unix OpenOptions) - #143063 (explain `ImportData::imported_module`) - #143088 (Improve documentation of `TagEncoding`) - #143135 (fix typos on some doc comments) - #143138 (Port `#[link_name]` to the new attribute parsing infrastructure) - #143155 (`librustdoc` house-keeping 🧹) - #143169 (Remove unused feature gates) - #143171 (Fix the span of trait bound modifier `[const]`) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of #142641 - bjorn3:proc_macro_symbols_o, r=jieyouxu Generate symbols.o for proc-macros too To ensure used statics are functioning correctly for proc-macros too.
To ensure used statics are functioning correctly for proc-macros too.