blob: 97f4f65f0ec2c4c055394d3cb0ba3b728ec21ff6 [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//! A library which sets the global allocator to the system-provided one.
// Set the global allocator.
//
// This will conflict with any other libraries that set the global allocator,
// and should be used uniquely on Fuchsia.
use std::alloc::System;
#[global_allocator]
static ALLOC: System = System;