summaryrefslogtreecommitdiff
path: root/rust/library_test.go
diff options
context:
space:
mode:
author Martin Geisler <mgeisler@google.com> 2022-11-18 11:55:27 +0100
committer Martin Geisler <mgeisler@google.com> 2022-11-18 11:59:09 +0100
commitbd736daba3847d89ed07983ecf704a2a611dcb25 (patch)
treef5e5881ab54c1937bddf3cbef60b5ad7116aad3f /rust/library_test.go
parentb43191c90c6088b0f87c1cfa5b8c8a4fb17907b1 (diff)
rust: Fix indentation, convert to TABs
The two “rust_ffi_host” modules looked different in my editor because one was indented with TABs and the other with spaces. They now consistently use spaces (like the other examples in this file). Test: atest Change-Id: I7d0cdba5978da92a1a299bb290472403d4f13462
Diffstat (limited to 'rust/library_test.go')
-rw-r--r--rust/library_test.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/rust/library_test.go b/rust/library_test.go
index 4633cc7ba..79abec548 100644
--- a/rust/library_test.go
+++ b/rust/library_test.go
@@ -30,11 +30,11 @@ func TestLibraryVariants(t *testing.T) {
srcs: ["foo.rs"],
crate_name: "foo",
}
- rust_ffi_host {
- name: "libfoo.ffi",
- srcs: ["foo.rs"],
- crate_name: "foo"
- }`)
+ rust_ffi_host {
+ name: "libfoo.ffi",
+ srcs: ["foo.rs"],
+ crate_name: "foo"
+ }`)
// Test all variants are being built.
libfooRlib := ctx.ModuleForTests("libfoo", "linux_glibc_x86_64_rlib_rlib-std").Rule("rustc")