-
Notifications
You must be signed in to change notification settings - Fork 25
Add trait for linear allocation to enforce use of LinearAllocator at compile-time #188
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ | |
#![feature(try_trait_v2)] | ||
#![feature(allocator_api)] | ||
#![feature(new_uninit)] | ||
#![feature(diagnostic_namespace)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This feature is stable, there is no need to add it to the list. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unfortunately it's not stable yet in the pinned compiler version we have... I could raise the Edit: actually, tried this but it won't work unless we update to a very recent nightly that contains rust-lang/rust#124649 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah right. I'm for the idea of "if we use an unstable feature, we should update the MSRV as soon as it is stabilised" since stability is the biggest reason I see why we should bump the MSRV. Still, for such a small thing it isn't necessary. We can bump it later down the line whenever we see fit. |
||
#![test_runner(test_runner::run_gdb)] // TODO: does this make sense to have configurable? | ||
#![doc( | ||
html_favicon_url = "https://user-images.githubusercontent.com/11131775/225929072-2fa1741c-93ae-4b47-9bdf-af70f3d59910.png" | ||
|
Uh oh!
There was an error while loading. Please reload this page.