-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not build with time
feature and --cfg loom
#2463
Comments
Tokio is not currently meant to be depended on w/ the loom cfg. Could you provide more info on what you are trying to do? |
I'm using I could of course just This is one problem of using/recommending |
I can understand if it would be really hard to make all of Maybe I could write something simple myself... |
How do you test the memory correctness of all |
I recently was bitten with tokio-rs/tokio#2463 while implementing loom based tests for code that was unrelated to the dependency that used tokio. This is a simple doc change until a different / better solution is implemented
Version
0.2.20 and latest git
Platform
macOS
Description
I'm using
loom
as recommended in theloom
docs: by settingRUSTFLAGS="--cfg loom"
. This causestokio
to not compile if thetime
feature is activated. Can be reproduced by just creating an empty crate and addingtokio
as a dependency:I assume crates depending on
tokio
should be able to useloom
so I guess this is not intentional.The text was updated successfully, but these errors were encountered: