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:
Ayaz Hafiz 2023-03-25 17:09:38 -05:00
parent 1891df77b8
commit 782a9839ac
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ use core::{
};
#[cfg(feature = "std")]
use core::ffi::{CStr, CString};
use std::ffi::{CStr, CString};
use crate::RocList;