5 ms·
The `cfg_attr` explicitly means that the `feature(pattern)` (the problem here) only gets activated when someone opts into it by activating regex's `pattern` fea
by dbaupp 11y ago
The `cfg_attr` explicitly means that the `feature(pattern)` (the problem here) only gets activated when someone opts into it by activating regex's `pattern` feature, and by activating it they're opting-in to being nightly-only, i.e. outside the core stability guarantees of the stable releases.
Could you post your Cargo.toml?
- Animats 11y ago[package] name = "hello_world" version = "0.0.1" authors = [ "John Nagle <nagle@animats.com>" ] [[bin]] name = "hello_world"
- steveklabnik 11y agoThat doesn't have any dependencies listed, how is it pulling in regex and such? Adding a [dependencies] regex = "*" and building works fine here... hm. (also that [[bin]] section is just repeating the defaults, you don't strictly need it)
- Animats 11y agoI dunno. Probably Cargo had some previous state stored somewhere that 'clean' didn't clear. I don't have time to figure out the internals of yet another weirdo build system.
- steveklabnik 11y agoOkay! That's not consistent with how Cargo is supposed to work, so if you can share anything, please open an issue. Sorry about that.
- coldtea 11y agoBut you have time to condescendingly call it "weirdo". Besides it having a bug (perhaps, it could have been messed up as they say from previously running nightly), what exactly looks "weirdo" about it?