platform_build_soong/rust
Matthew Maurer 20768b8840 rust: Use v0 mangling format globally
By default, rust uses the `legacy` mangling format. Using llvm coverage
switches it to using the new `v0` format. Rather than pushing the llvm
coverage back to `legacy` format, move Android forwards to `v0`. This
also has the added benefit that Rust symbols can be detected in the
codebase by looking for a leading "_R", aiding in demangler selection.

Test: builds, resulting object files have leading _R rather than _Z
Test: atest keystore2_test
Bug: 178565008
Change-Id: I7fcd591535d08260686c62fbfa6f7b61b31ed989
2021-02-02 00:23:26 +00:00
..
config rust: Use v0 mangling format globally 2021-02-02 00:23:26 +00:00
Android.bp Add Rust fuzzing support. 2021-01-25 11:11:10 -05:00
androidmk.go rust: Allow rust_tests to include data files. 2021-01-29 14:31:32 -05:00
binary.go Migrate Rust to LLVM coverage. 2021-01-15 19:44:07 +00:00
binary_test.go Rust: abort on panic 2021-01-26 09:09:06 -05:00
bindgen.go Allow the clang version used for bindgen to be configured. 2020-12-30 21:18:54 -08:00
bindgen_test.go rust: Add header library support to rust_bindgen. 2020-11-17 13:40:50 -05:00
builder.go Merge "Migrate Rust to LLVM coverage." 2021-01-26 15:28:36 +00:00
builder_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
clippy.go rust: modify linting properties 2020-08-13 15:58:09 +02:00
clippy_test.go rust modules can be included in apex 2020-11-30 15:40:48 +00:00
compiler.go Merge "Migrate Rust to LLVM coverage." 2021-01-26 15:28:36 +00:00
compiler_test.go rust modules can be included in apex 2020-11-30 15:40:48 +00:00
coverage.go Migrate Rust to LLVM coverage. 2021-01-15 19:44:07 +00:00
coverage_test.go Migrate Rust to LLVM coverage. 2021-01-15 19:44:07 +00:00
fuzz.go Add Rust fuzzing support. 2021-01-25 11:11:10 -05:00
fuzz_test.go Add Rust fuzzing support. 2021-01-25 11:11:10 -05:00
image.go Define odm_available property to install a vendor variant to odm 2021-01-25 17:08:44 +09:00
image_test.go Define odm_available property to install a vendor variant to odm 2021-01-25 17:08:44 +09:00
library.go Migrate Rust to LLVM coverage. 2021-01-15 19:44:07 +00:00
library_test.go Move prefer_rlib from binary to base compiler. 2020-12-09 09:55:12 -05:00
OWNERS Add Matt to OWNERS for Rust 2020-06-26 09:23:47 +02:00
prebuilt.go Start using Providers instead of direct module access 2020-10-12 16:55:47 -07:00
proc_macro.go Add Rust fuzzing support. 2021-01-25 11:11:10 -05:00
project_json.go Add dependencies for source-generated crates 2020-12-07 14:45:09 +01:00
project_json_test.go Add dependencies for source-generated crates 2020-12-07 14:45:09 +01:00
protobuf.go Merge rust_protobuf and rust_grpcio module types. 2020-12-11 16:19:02 -05:00
protobuf_test.go Merge rust_protobuf and rust_grpcio module types. 2020-12-11 16:19:02 -05:00
rust.go Merge "Migrate Rust to LLVM coverage." 2021-01-26 15:28:36 +00:00
rust_test.go rust: Allow rust_tests to include data files. 2021-01-29 14:31:32 -05:00
sanitize.go Add Rust fuzzing support. 2021-01-25 11:11:10 -05:00
source_provider.go rust: Add support for multiple protos per module. 2020-11-30 14:55:00 +00:00
source_provider_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
strip.go Add comments to {cc,rust}/strip.go 2020-11-19 20:02:34 +01:00
test.go rust: Allow rust_tests to include data files. 2021-01-29 14:31:32 -05:00
test_test.go rust: Allow rust_tests to include data files. 2021-01-29 14:31:32 -05:00
testing.go Add Rust fuzzing support. 2021-01-25 11:11:10 -05:00