mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-13 09:49:11 +03:00
Merge branch 'trunk' into direct-return-known-types
This commit is contained in:
commit
693869336d
@ -74,6 +74,8 @@ There are also alternative installation options at http://releases.llvm.org/down
|
||||
|
||||
## Using Nix
|
||||
|
||||
:exclamation: **Our Nix setup is currently broken, you'll have to install manually for now** :exclamation:
|
||||
|
||||
### Install
|
||||
|
||||
Using [nix](https://nixos.org/download.html) is a quick way to get an environment bootstrapped with a single command.
|
||||
|
@ -24,6 +24,7 @@ const Allocator = mem.Allocator;
|
||||
|
||||
extern fn roc__mainForHost_1_exposed() RocStr;
|
||||
|
||||
|
||||
extern fn malloc(size: usize) callconv(.C) ?*c_void;
|
||||
extern fn realloc(c_ptr: [*]align(@alignOf(u128)) u8, size: usize) callconv(.C) ?*c_void;
|
||||
extern fn free(c_ptr: [*]align(@alignOf(u128)) u8) callconv(.C) void;
|
||||
|
@ -51,7 +51,6 @@ size_t roc_str_len(struct RocStr str) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
extern struct RocStr roc__mainForHost_1_exposed();
|
||||
|
||||
int main() {
|
||||
|
Loading…
Reference in New Issue
Block a user