libflo_func 0.1.1

A library for loading modules containing shared libs into libflo.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use std::env;
use std::path::PathBuf;

pub fn all_root_path() -> PathBuf {
    let mut current_exe_path = current_exe_path().unwrap();
    let basic_test_root_path = "test/res/module";
    current_exe_path.push(basic_test_root_path);
    current_exe_path
}

pub fn current_exe_path() -> Option<PathBuf> {
    Some(env::current_dir().unwrap())
}

pub fn empty_search_paths() -> Option<Vec<PathBuf>> {
    Some(Vec::new())
}