Make more code work with no_std. (#407)
* Make more code work with no_std. no_std support is still incomplete, but this patch takes care of the bulk of the straightforward parts.
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
//! WebAssembly Module API object.
|
||||
|
||||
extern crate alloc;
|
||||
|
||||
use pyo3::prelude::*;
|
||||
|
||||
use std::rc::Rc;
|
||||
use alloc::rc::Rc;
|
||||
|
||||
#[pyclass]
|
||||
pub struct Module {
|
||||
|
||||
Reference in New Issue
Block a user