mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
Use std and core over libc where equivalent
This commit is contained in:
parent
bb49593c2e
commit
0bc3ff4ca5
6 changed files with 7 additions and 6 deletions
|
@ -1,9 +1,9 @@
|
|||
#![allow(non_snake_case)]
|
||||
|
||||
use core::ffi::c_void;
|
||||
use libc::c_char;
|
||||
use roc_std::RocStr;
|
||||
use std::ffi::CStr;
|
||||
use std::os::raw::c_char;
|
||||
|
||||
extern "C" {
|
||||
#[link_name = "roc__mainForHost_1_exposed"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue