builtin: use dlmalloc for -freestanding (#13054)

This commit is contained in:
playX 2022-01-06 15:10:37 +03:00 committed by GitHub
parent fb66ec7cfb
commit ec91de3504
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 284 additions and 108 deletions

View file

@ -0,0 +1,7 @@
fn main() {
mut x := []int{cap: 100}
x << 42
x << 41
x << 40
println(x)
}