4 ms·
I'm just a dabbler and most of my experience is a few months old -- I have no specifics for you, I'm afraid.
by gamache 8y ago
I'm just a dabbler and most of my experience is a few months old -- I have no specifics for you, I'm afraid.
- vvanders 8y agoIf you're talking about Rocket that seems to be the largest thing that requires nightly. That said I can count on my hands the number of times I've used nightly over the last 2-ish years. It's pretty rare that you need to do it. I'll also add that I've actually been really impressed with how much attention Rust takes to not break stable packages. Between crater[1] and how aggressively they've cut point releases to fix any issues that (rarely) happen to slip by. [1] https://github.com/rust-lang-nursery/crater https://github.com/rust-lang-nursery/crater
- inferiorhuman 8y agoBindgen also wants nightly so if you're doing any FFI stuff you may be tethered to nightly.
- vvanders 8y agoYou sure about that? I've been using bindgen for ages on stable and just grabbed the latest version on an empty project and it still works for me.
- steveklabnik 8y agoI'm sitting next to bindgen's author in meatspace right now and he says yes, it has been on stable for a long time.
- inferiorhuman 8y agoAh sorry, was thinking of rustfmt-nightly, not the toolchain.
- deleted 8y ago[deleted]
- steveklabnik 8y agoNo worries! You shouldn't be using rustfmt-nightly at this point either; install the rustfmt-preview component through rustup. It works on stable!
- inferiorhuman 8y agoDoes rustfmt-preview work with bindgen though?
- steveklabnik 8y agoI don’t know what this sentence means.
- inferiorhuman 8y agoBindgen relies on rustfmt. With the codebase I'm using rustfmt-nightly works, but the stable version segfaults. Known issue but that's why I've stuck with rustfmt-nightly.
- steveklabnik 8y agoInteresting! I was not aware of that. So, no idea :)
- inferiorhuman 8y agohttps://github.com/rust-lang-nursery/rust-bindgen/issues/1045 https://github.com/rust-lang-nursery/rust-bindgen/issues/104... So yeah looks like I'm tethered to the nightly toolchain after all. :/
- steveklabnik 8y ago
- steveklabnik 8y agoIt's all good; I appreciate it anyway.