mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
Only mark roc_std no_std if std feature is not present
Otherwise, you will get compile errors with the std feature.
This commit is contained in:
parent
1891df77b8
commit
782a9839ac
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ use core::{
|
|||
};
|
||||
|
||||
#[cfg(feature = "std")]
|
||||
use core::ffi::{CStr, CString};
|
||||
use std::ffi::{CStr, CString};
|
||||
|
||||
use crate::RocList;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue