New import rules.

This commit is contained in:
Christoffer Lerno
2022-05-23 14:16:26 +02:00
committed by Christoffer Lerno
parent 2d608a4d51
commit 09d50ebf6c
27 changed files with 207 additions and 38 deletions

View File

@@ -2,6 +2,7 @@
// Use of this source code is governed by the MIT license
// a copy of which can be found in the LICENSE_STDLIB file.
module std::builtin;
import libc;
fault VarCastResult
{

View File

@@ -1,4 +1,5 @@
module std::mem;
import libc;
private fn void*! null_allocator_fn(void *data, usize bytes, usize alignment, void* old_pointer, AllocationKind kind)
{