Repository navigation
*: remove crate_{name,type} attributes - #43994
Conversation
|
Note sure what to make of these test failures: |
|
The problem is this function, which redirects tests of crates with a Lines 611 to 617 in 6f4ab94 |
8f64c56 to
851d094
Compare
There was a problem hiding this comment.
This line is too long.
[00:03:11] tidy error: /checkout/src/libsyntax/test.rs:88: line longer than 100 chars
851d094 to
07fc66c
Compare
|
Thanks @arielb1! This is green. |
|
These sort of changes are more of @alexcrichton's domain. |
|
@bors: r+ |
|
📌 Commit 07fc66c has been approved by |
|
⌛ Testing commit 07fc66c2583ded22f061ef7eb643e62edef7a707 with merge 86ca4b4773693d5f666a96fffefe1f0c95d226ff... |
|
💔 Test failed - status-travis |
|
|
|
I'm guessing that now that libtest doesn't have the name attribute, something's different in the resulting rlib (or dylib, on my mac). @alexcrichton any guidance? FWIW, it does seem like faa6769 is what broke this (and yet it is necessary to solve the earlier build problem). |
|
Looks like the bug here is that |
|
@alexcrichton I don't follow: this failure occurs even without the mass removal of attributes (i.e. in the second commit). |
|
I'd recommend just backing out the modifications to libsyntax/test.rs. When doing that I'd add back |
|
It'd be nice to understand the cause, though. I'll take another look at
this later today.
…On Aug 24, 2017 18:36, "Alex Crichton" ***@***.***> wrote:
I'd recommend just backing out the modifications to libsyntax/test.rs.
When doing that I'd add back #![crate_name] to src/libtest/lib.rs and
that I believe should pass tests.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#43994 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABdsPNG6VmEkOVaw-r2NIkFeIdC9WmHuks5sbfr7gaJpZM4O8eXF>
.
|
|
The test harness acts differently based on its calculated value of |
The value of this field is meant to indicate whether or not the crate is rustc's libtest itself - not whether or not it is a test crate generally.
07fc66c to
dccf50d
Compare
dccf50d to
b3f50ca
Compare
|
@alexcrichton OK, done. I don't quite understand this machinery that does specific-to-libtest stuff, but I've go ahead and documented some of this sorcery. |
|
@bors: r+ |
|
📌 Commit b3f50ca has been approved by |
|
☀️ Test successful - status-appveyor, status-travis |
Fixes #41701.
r? @arielb1