Stream: general

Topic: Using unstable methods inside libcore


RalfJ (Feb 22 2019 at 21:39, on Zulip):

Is it expected that I can call an unstable method on MaybeUninit inside libcore without declaring the feature gate? But somehow this does not seem to happen consistently...

RalfJ (Feb 22 2019 at 21:42, on Zulip):

seems like I cannot use unstable macros, but I can use unsable library methods

RalfJ (Feb 22 2019 at 21:42, on Zulip):

that's a bummer, I thought I was using fine-grained feature gates to limit what part of the API libcore itself can use

gnzlbg (Feb 22 2019 at 21:46, on Zulip):

there is a feature for that

gnzlbg (Feb 22 2019 at 21:47, on Zulip):

https://github.com/rust-lang-nursery/stdsimd/commit/9a60697044088f6704a40da78dee25eb6d55fd6f

gnzlbg (Feb 22 2019 at 21:48, on Zulip):

#[allow_internal_unstable] I think its called, it used to enable using all features, but last week that changes and you have to specify which features you want to use

gnzlbg (Feb 22 2019 at 21:54, on Zulip):

so you might want to check if there is one of those "somewhere" enabling the feature gating those particular methods

RalfJ (Feb 22 2019 at 21:59, on Zulip):

I'd be surprised if libcore used these for, like, its entire content

Last update: Nov 22 2019 at 00:55UTC