mirror of
https://github.com/fluencelabs/marine.git
synced 2025-03-15 05:50:49 +00:00
fix build
This commit is contained in:
parent
2aefc9c491
commit
3384ad789b
@ -66,8 +66,8 @@ pub fn get_interfaces() {
|
|||||||
let greeting_config_raw = std::fs::read_to_string(greeting_config_path)
|
let greeting_config_raw = std::fs::read_to_string(greeting_config_path)
|
||||||
.expect("../examples/greeting/Config.toml should presence");
|
.expect("../examples/greeting/Config.toml should presence");
|
||||||
|
|
||||||
let greeting_config_raw = String::from_utf8(greeting_config_raw)
|
let mut greeting_config: marine::TomlMarineConfig =
|
||||||
.expect("../examples/greeting/Config.toml should be UTF-8");
|
toml::from_str(&greeting_config_raw).expect("greeting config should be well-formed");
|
||||||
|
|
||||||
greeting_config.modules_dir = Some(PathBuf::from("../examples/greeting/artifacts"));
|
greeting_config.modules_dir = Some(PathBuf::from("../examples/greeting/artifacts"));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user