Merge branch 'trunk' into dropfirst-builtin

This commit is contained in:
Chelsea Troy 2021-11-05 23:34:46 -05:00 committed by GitHub
commit 208bce563a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
85 changed files with 4871 additions and 3098 deletions

View file

@ -31,9 +31,9 @@ pub unsafe fn roc_dealloc(c_ptr: *mut c_void, _alignment: u32) {
pub unsafe fn roc_panic(c_ptr: *mut c_void, tag_id: u32) {
use roc_gen_llvm::llvm::build::PanicTagId;
use libc::c_char;
use std::convert::TryFrom;
use std::ffi::CStr;
use std::os::raw::c_char;
match PanicTagId::try_from(tag_id) {
Ok(PanicTagId::NullTerminatedString) => {