diff options
| -rw-r--r-- | tests/projects/rust/cargo_deps/Cargo.toml | 9 | ||||
| -rw-r--r-- | tests/projects/rust/cxx_call_rust_library/src/foo.rs | 3 |
2 files changed, 1 insertions, 11 deletions
diff --git a/tests/projects/rust/cargo_deps/Cargo.toml b/tests/projects/rust/cargo_deps/Cargo.toml deleted file mode 100644 index df461d550..000000000 --- a/tests/projects/rust/cargo_deps/Cargo.toml +++ /dev/null @@ -1,9 +0,0 @@ -[package] -name = "cargo_deps" -version = "0.1.0" -edition = "2018" - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - -[dependencies] -base64 = "0.13.0" diff --git a/tests/projects/rust/cxx_call_rust_library/src/foo.rs b/tests/projects/rust/cxx_call_rust_library/src/foo.rs index 0c4975fa2..f78bfa99d 100644 --- a/tests/projects/rust/cxx_call_rust_library/src/foo.rs +++ b/tests/projects/rust/cxx_call_rust_library/src/foo.rs @@ -5,8 +5,7 @@ mod foo { } } -pub fn add(a: i32, b: i32) -> i32 -{ +pub fn add(a: i32, b: i32) -> i32 { return a + b; } |
