platform_build_soong/rust
Thiébaud Weksteen c44e7372ed rust: Add cfgs property
Rust configuration options ("--cfg") are currently defined using the
"flags" property. Adds a specific property to be able to forward these
to the rust-analyzer configuration (rust-project.json).

Bug: 183727250
Test: m libstd
Change-Id: Ida89097814bcd1a45c02a8a79ec5a8e9e59701bd
2021-04-07 15:04:10 +02:00
..
config Add system/core/libstats to the Rust allowed list. 2021-03-30 13:40:43 -07:00
Android.bp Enable size measurement for Rust binaries 2021-02-18 15:46:19 +01:00
androidmk.go Add ctx to AndroidMkExtraEntriesFunc 2021-02-19 23:05:40 +00:00
binary.go rust: Drop libgcc dependency 2021-03-23 13:55:40 +01:00
binary_test.go Rust: abort on panic 2021-01-26 09:09:06 -05:00
bindgen.go rust: Drop libgcc dependency 2021-03-23 13:55:40 +01:00
bindgen_test.go rust: Add header library support to rust_bindgen. 2020-11-17 13:40:50 -05:00
builder.go Export OUT_DIR variable to rust-project.json 2021-03-15 08:13:20 +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 Convert remaining rust tests to use test fixtures 2021-03-30 22:45:21 +01:00
compiler.go rust: Add cfgs property 2021-04-07 15:04:10 +02:00
compiler_test.go rust: Add cfgs property 2021-04-07 15:04:10 +02: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 bp2build: convert paths/module refs to Bazel label 2021-02-04 13:45:56 -05:00
fuzz_test.go Add Rust fuzzing support. 2021-01-25 11:11:10 -05:00
image.go rust: Add rust_ffi_static vendor ramdisk Support 2021-02-08 09:36:26 -05:00
image_test.go Don't use incorrect version names like VER or BOARD even in tests 2021-04-05 09:32:06 +09:00
library.go rust: Drop libgcc dependency 2021-03-23 13:55:40 +01: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 bp2build: convert paths/module refs to Bazel label 2021-02-04 13:45:56 -05:00
project_json.go rust: Add features list to rust_project.json 2021-03-25 09:59:49 +01:00
project_json_test.go Remove FixturePreparer.Extend() 2021-04-01 10:33:20 +01:00
protobuf.go Merge rust_protobuf and rust_grpcio module types. 2020-12-11 16:19:02 -05:00
protobuf_test.go Support test fixtures in rust package 2021-03-23 18:47:15 +00:00
rust.go Merge "rust: Add whole_static_libs, revert static_lib" 2021-03-26 13:01:14 +00:00
rust_test.go Don't use incorrect version names like VER or BOARD even in tests 2021-04-05 09:32:06 +09:00
sanitize.go rust: Update libfuzzer flags for rust_fuzz 2021-04-02 12:43:28 -04: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 Merge "Changing default of rust_test_host to unit_tests:true" 2021-02-10 00:07:49 +00:00
test_test.go rust: Allow rust_tests to include data files. 2021-01-29 14:31:32 -05:00
testing.go Convert remaining rust tests to use test fixtures 2021-03-30 22:45:21 +01:00