-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Add GlobalAlloc trait + tweaks for initial stabilization #49669
Commits on Apr 12, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 1569f8f - Browse repository at this point
Copy the full SHA 1569f8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b06886 - Browse repository at this point
Copy the full SHA 9b06886View commit details -
Configuration menu - View commit details
-
Copy full SHA for c660ced - Browse repository at this point
Copy the full SHA c660cedView commit details -
Import the
alloc
crate asalloc_crate
in std… to make the name `alloc` available.
Configuration menu - View commit details
-
Copy full SHA for 1b895d8 - Browse repository at this point
Copy the full SHA 1b895d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09e8db1 - Browse repository at this point
Copy the full SHA 09e8db1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 743c29b - Browse repository at this point
Copy the full SHA 743c29bView commit details -
Rename the Heap type to Global
… since it is the entry point for what’s registered with `#[global_allocator]`
Configuration menu - View commit details
-
Copy full SHA for 88ebd2d - Browse repository at this point
Copy the full SHA 88ebd2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e521b8b - Browse repository at this point
Copy the full SHA e521b8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e5a0c2 - Browse repository at this point
Copy the full SHA 5e5a0c2View commit details -
Update to most recent version of dlmalloc
Inline the definition of `GlobalAlloc` for `dlmalloc` on wasm and don't rely on usage of unstable features in `dlmalloc` itself.
Configuration menu - View commit details
-
Copy full SHA for a4caac5 - Browse repository at this point
Copy the full SHA a4caac5View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba7081a - Browse repository at this point
Copy the full SHA ba7081aView commit details -
Configuration menu - View commit details
-
Copy full SHA for eb69593 - Browse repository at this point
Copy the full SHA eb69593View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86753ce - Browse repository at this point
Copy the full SHA 86753ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 157ff8c - Browse repository at this point
Copy the full SHA 157ff8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 93a9ad4 - Browse repository at this point
Copy the full SHA 93a9ad4View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9c96d7 - Browse repository at this point
Copy the full SHA f9c96d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b017742 - Browse repository at this point
Copy the full SHA b017742View commit details -
realloc with a new size only, not a full new layout.
Changing the alignment with realloc is not supported.
Configuration menu - View commit details
-
Copy full SHA for c957e99 - Browse repository at this point
Copy the full SHA c957e99View commit details -
Configuration menu - View commit details
-
Copy full SHA for 747cc74 - Browse repository at this point
Copy the full SHA 747cc74View commit details -
Configuration menu - View commit details
-
Copy full SHA for c033f1f - Browse repository at this point
Copy the full SHA c033f1fView commit details -
Remove
impl Alloc for &'a System
This was relevant to `#[global_allocator]`, which is now based on `GlobalAlloc` trait instead.
Configuration menu - View commit details
-
Copy full SHA for 96c9d22 - Browse repository at this point
Copy the full SHA 96c9d22View commit details -
Restore Global.oom() functionality
… now that #[global_allocator] does not define a symbol for it
Configuration menu - View commit details
-
Copy full SHA for eae0d46 - Browse repository at this point
Copy the full SHA eae0d46View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd242ee - Browse repository at this point
Copy the full SHA fd242eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for fddf51e - Browse repository at this point
Copy the full SHA fddf51eView commit details -
Remove conversions for allocated pointers
One was now unused, and `NonNull::new(…).ok_or(AllocErr)` feels short enough for the few cases that need the other conversion.
Configuration menu - View commit details
-
Copy full SHA for ed29777 - Browse repository at this point
Copy the full SHA ed29777View commit details -
Configuration menu - View commit details
-
Copy full SHA for f607a38 - Browse repository at this point
Copy the full SHA f607a38View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5ffdd7 - Browse repository at this point
Copy the full SHA c5ffdd7View commit details