Skip to content

Conversation

kennytm
Copy link
Member

@kennytm kennytm commented Jul 17, 2017

After #43252 is merged, building stage0 libcore with -i (--incremental) flag will cause 17 "Quasi-quoting might make incremental compilation very inefficient: NtExpr(..)" warnings, as in #40946.

warning: Quasi-quoting might make incremental compilation very inefficient: NtExpr(..)
   --> src/libcore/default.rs:133:21
    |
133 |             #[doc = $doc]
    |                     ^^^^
...
139 | default_impl! { (), (), "Returns the default value of `()`" }
    | ------------------------------------------------------------- in this macro invocation
(× 17)

True fix for #40946 will take at least 12 weeks from now to make into the next stage0, so it is quicker to workaround it in libcore instead.

cc @vbrandl @jseyfried

After rust-lang#43252 is merged, building stage0 libcore with -i (--incremental)
flag will cause 17 "Quasi-quoting might make incremental compilation very
inefficient: NtExpr(..)" warnings, as in rust-lang#40946.

Fixing the warning in rust-lang#40946 will take 12 weeks from now to make into the
next stage0, so it is quicker to workaround it in libcore instead.
@kennytm kennytm changed the title Fix "Quasi-quoting is inefficient" warning in incremental rustbuild. Workaround "Quasi-quoting is inefficient" warning in incremental rustbuild introduced in #43252. Jul 17, 2017
@Mark-Simulacrum
Copy link
Member

cc @jseyfried

r? @alexcrichton, maybe?

@Mark-Simulacrum Mark-Simulacrum added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 17, 2017
@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Collaborator

bors commented Jul 17, 2017

📌 Commit 2d6c10f has been approved by alexcrichton

@bors
Copy link
Collaborator

bors commented Jul 18, 2017

⌛ Testing commit 2d6c10f with merge 1a843e4323fc00c4787d14639cef9202b3827496...

@bors
Copy link
Collaborator

bors commented Jul 18, 2017

💔 Test failed - status-travis

@kennytm
Copy link
Member Author

kennytm commented Jul 18, 2017

Failed to download sccache. Spurious.

@est31
Copy link
Member

est31 commented Jul 18, 2017

@bors retry

@Mark-Simulacrum
Copy link
Member

@bors rollup

Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request Jul 18, 2017
…n-rustbuild, r=alexcrichton

Workaround "Quasi-quoting is inefficient" warning in incremental rustbuild introduced in rust-lang#43252.

After rust-lang#43252 is merged, building stage0 libcore with `-i` (`--incremental`) flag will cause 17 "Quasi-quoting might make incremental compilation very inefficient: NtExpr(..)" warnings, as in rust-lang#40946.

```
warning: Quasi-quoting might make incremental compilation very inefficient: NtExpr(..)
   --> src/libcore/default.rs:133:21
    |
133 |             #[doc = $doc]
    |                     ^^^^
...
139 | default_impl! { (), (), "Returns the default value of `()`" }
    | ------------------------------------------------------------- in this macro invocation
(× 17)
```

True fix for rust-lang#40946 will take at least 12 weeks from now to make into the next stage0, so it is quicker to workaround it in libcore instead.

cc @vbrandl @jseyfried
bors added a commit that referenced this pull request Jul 18, 2017
Rollup of 11 pull requests

- Successful merges: #42837, #43282, #43287, #43290, #43292, #43294, #43304, #43310, #43312, #43314, #43315
- Failed merges:
@arielb1 arielb1 added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 18, 2017
@bors bors merged commit 2d6c10f into rust-lang:master Jul 19, 2017
@kennytm kennytm deleted the fix-quasi-quoting-warning-in-rustbuild branch July 20, 2017 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants