mirror of
https://github.com/fluencelabs/marine.git
synced 2025-06-22 19:21:38 +00:00
Allow to specify module file name in the config (#62)
This commit is contained in:
@ -21,9 +21,9 @@ pub use functions::*;
|
||||
pub use wit::*;
|
||||
|
||||
use crate::Result;
|
||||
use std::path::PathBuf;
|
||||
use std::path::Path;
|
||||
|
||||
pub fn module_interface(module_path: PathBuf) -> Result<ServiceInterface> {
|
||||
pub fn module_interface(module_path: &Path) -> Result<ServiceInterface> {
|
||||
use fce_wit_interfaces::FCEWITInterfaces;
|
||||
|
||||
let wit_section_bytes = extract_wit_section_bytes(module_path)?;
|
||||
|
Reference in New Issue
Block a user