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):

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: Jun 04 2020 at 18:45UTC