Sign in
rust
/
rust-lang
/
rust
/
refs/heads/try-perf
/
.
/
tests
/
run-make
/
allocator-shim-circular-deps
/
my_lib.rs
blob: 095b103611697cabeb57c2bc88c4dc060e27c5bc [
file
] [
log
] [
blame
]
#![
crate_type
=
"lib"
]
use
std
::
alloc
::
System
;
#[
global_allocator
]
static
ALLOCATOR
:
System
=
System
;
pub
fn
do_something
()
{
format
!(
"allocating a string!"
);
}