summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-11-13 14:07:48 +0800
committerruki <[email protected]>2021-11-13 14:07:48 +0800
commitc25ecb6bccb5046496d6990f3e4ce3ed64748408 (patch)
treeb964097ca59d463f6b99a48ef5b372eced9edd8d
parentf48b0a3fe109284d9bb08a1f5ecb7dee39ff40a2 (diff)
remove cargo.toml
-rw-r--r--tests/projects/rust/cargo_deps/Cargo.toml9
-rw-r--r--tests/projects/rust/cxx_call_rust_library/src/foo.rs3
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;
}