Skip to content

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

Merged
bors merged 1 commit into
rust-lang:masterfrom
kennytm:fix-quasi-quoting-warning-in-rustbuild
Jul 19, 2017
Merged

Workaround "Quasi-quoting is inefficient" warning in incremental rustbuild introduced in #43252.#43292
bors merged 1 commit into
rust-lang:masterfrom
kennytm:fix-quasi-quoting-warning-in-rustbuild

Conversation

@kennytm

@kennytmkennytm commented Jul 17, 2017

Copy link
Copy Markdown
Member

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.
@kennytmkennytm 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
Copy Markdown
Member

cc @jseyfried

r? @alexcrichton, maybe?

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

Copy link
Copy Markdown
Member

@bors: r+

@bors

bors commented Jul 17, 2017

Copy link
Copy Markdown
Collaborator

📌 Commit 2d6c10f has been approved by alexcrichton

@bors

bors commented Jul 18, 2017

Copy link
Copy Markdown
Collaborator

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

@bors

bors commented Jul 18, 2017

Copy link
Copy Markdown
Collaborator

💔 Test failed - status-travis

@kennytm

Copy link
Copy Markdown
MemberAuthor

Failed to download sccache. Spurious.

@est31

Copy link
Copy Markdown
Member

@bors retry

@Mark-Simulacrum

Copy link
Copy Markdown
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
@arielb1arielb1 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:masterJul 19, 2017
@kennytm
kennytm deleted the fix-quasi-quoting-warning-in-rustbuild branch July 20, 2017 22:37
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: 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

@kennytm@Mark-Simulacrum@alexcrichton@bors@est31@arielb1