Stream: general

Topic: workspaces, features and cargo test

Paul Faria (Jan 05 2020 at 00:14, on Zulip):

I'm a bit confused about certain behavior, and not sure if I have a mistake or I found a bug. The following all refers to this branch: . I have a workspace, and the main crate, coi, has multiple features, one of which cause a feature of a dependency to turn on and off (async feature of coi-derive). I have several crates in my workspace that are used solely to test that my crate's functionality works with all combination of features. Going into each directory and running cargo test works as expected. Running cargo test at the root of the workspace does not: . Does running cargo test at the workspace root only compile each crate once and then reuse them, ignore the feature requirements of the other crates? Or is there some detail I'm missing?

Paul Faria (Jan 05 2020 at 03:42, on Zulip):

Maybe this is still an unsolved issue? This comment from a while back seems to imply so:

bstrie (Jan 06 2020 at 16:35, on Zulip):

does anyone know where the libs team has their meetings?

XAMPPRocky (Jan 06 2020 at 17:26, on Zulip):

@bstrie You can read this topic, in short they don't have meetings or place for discussion.

Lokathor (Jan 06 2020 at 19:57, on Zulip):

deeply unfortunate

gnzlbg (Jan 07 2020 at 16:36, on Zulip):

@bstrie if there is an issue that you need to bring to their attention, open a thread on internals or in rust-lang/rust

gnzlbg (Jan 07 2020 at 16:36, on Zulip):

if you are in a rust team, you can ping them in rust-lang/rust, but otherwise someone else can ping them for you

RalfJ (Jan 07 2020 at 20:30, on Zulip):

I pinged them in and without getting much of a reaction, unfortunately (the holidays would explain this, though this is consistent with other pings over the last few months). I feel I have to pick someone from the libs team and Cc or r? them if I want to get a reaction.

gnzlbg (Jan 07 2020 at 20:37, on Zulip):

@RalfJ I'd ping @Gankra for those, but I don't know if they are available for reviewing those PRs, otherwise @Amanieu or @SimonSapin are probably good fits as well

RalfJ (Jan 07 2020 at 20:37, on Zulip):

yeah I already explicitly pinged Gankra, I didnt know if they are in rust-lang/libs

gnzlbg (Jan 07 2020 at 20:48, on Zulip):


gnzlbg (Jan 07 2020 at 20:48, on Zulip):

@Lukas Kalbertodt maybe ?

RalfJ (Jan 07 2020 at 20:49, on Zulip):

Amanieu and Simon sound like good options (though last time I pinged them SImon indicated they are also pretty busy). not sure how long I should wait before trying to summon them. for now, the PRs are assigned to dtolnay

gnzlbg (Jan 07 2020 at 20:50, on Zulip):

Amanieu is familiar with the hashmap implementation, but BTreeSet is quite different. The only person I recall that was deeply familiar with it is Gankra :/

RalfJ (Jan 07 2020 at 20:51, on Zulip):


Amanieu (Jan 07 2020 at 20:51, on Zulip):

Yea I didn't respond because I don't know anything about the btree internals.

RalfJ (Jan 07 2020 at 20:52, on Zulip):

for the 2nd PR I almost convinced myself I could r+ it. But I dont feel quite confident enough...

RalfJ (Jan 07 2020 at 20:52, on Zulip):

these are pretty high-risk changes -- if something goes wrong, we have some very hard to detect UB at our hands

Last update: Jun 04 2020 at 18:40UTC