diff options
| author | ruki <[email protected]> | 2021-11-13 14:07:48 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-11-13 14:07:48 +0800 |
| commit | c25ecb6bccb5046496d6990f3e4ce3ed64748408 (patch) | |
| tree | b964097ca59d463f6b99a48ef5b372eced9edd8d | |
| parent | f48b0a3fe109284d9bb08a1f5ecb7dee39ff40a2 (diff) | |
remove cargo.toml
| -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; } |
