Skip to content

Commit 5b0e97c

Browse files
devraymondshviferga
authored andcommitted
Remove unnecessary code
1 parent 15a0c13 commit 5b0e97c

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

source/loaders/rs_loader/rust/src/lifecycle/execution_path.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
use crate::{bridge_api, c_char, c_int, c_void, CStr, PathBuf};
2-
use parser::{self, Source};
3-
4-
use std::fs;
52

63
#[no_mangle]
74
pub extern "C" fn rs_loader_impl_execution_path(
@@ -20,11 +17,5 @@ pub extern "C" fn rs_loader_impl_execution_path(
2017
.push(PathBuf::from(path_slice));
2118
}
2219

23-
parser::parse_functions(Source::new(
24-
fs::read_to_string("/home/raymond/projects/side-projects/metacall/core/build/test.rs")
25-
.unwrap(),
26-
String::from("test.rs"),
27-
));
28-
2920
0 as c_int
3021
}

0 commit comments

Comments
 (0)