diff options
| author | ruki <[email protected]> | 2021-11-10 22:43:37 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-11-10 22:43:37 +0800 |
| commit | b6ed301feb4b223a8c0faa9dd979a722b6e04555 (patch) | |
| tree | 5acf1e397805852f5c05194a251c3d1066400471 /tests/projects/rust/static_library/src/main.rs | |
| parent | e99fa03712fb749bd1e689b3df63b98daa1210cc (diff) | |
improve rust tests
Diffstat (limited to 'tests/projects/rust/static_library/src/main.rs')
| -rw-r--r-- | tests/projects/rust/static_library/src/main.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/projects/rust/static_library/src/main.rs b/tests/projects/rust/static_library/src/main.rs index 0cd4449d1..24f23d84b 100644 --- a/tests/projects/rust/static_library/src/main.rs +++ b/tests/projects/rust/static_library/src/main.rs @@ -1,7 +1,7 @@ -extern crate interfaces; +extern crate foo; -fn main() +fn main() { println!("hello xmake!"); - println!("add: {}", interfaces::add(1, 1)); + println!("add: {}", foo::add(1, 1)); } |
