platform_build_soong/rust
Ivan Lozano ad8b18b872 Enforce correct rust library file names.
rustc expects libraries and proc_macro filenames to conform to
a particular format, alphanumeric with underscores and lib${crate_name}.*.
Enforce this with a check when getStem() is called.

This makes the crate_name property required for proc_macros and
libraries. This also removes the notion of a default crate name derived
from the module name. It's not needed for binaries, so this won't impact
them.

Bug: 143579265
Test: m -j crosvm.experimental
Change-Id: I2770cf7d02dd4291c3d240d58d242b940098dcee
2019-11-04 09:20:08 -08:00
..
config Add support for Rust C libraries. 2019-10-28 22:09:01 -07:00
androidmk.go Add rust_test and rust_test_host. 2019-10-29 17:19:03 -07:00
binary.go Add AArch64 device Rust toolchain. 2019-09-24 10:35:28 -07:00
binary_test.go Add rust_test and rust_test_host. 2019-10-29 17:19:03 -07:00
builder.go Enforce correct rust library file names. 2019-11-04 09:20:08 -08:00
compiler.go Enforce correct rust library file names. 2019-11-04 09:20:08 -08:00
compiler_test.go Fix proc_macro dependency handling. 2019-09-24 10:35:20 -07:00
library.go Enforce correct rust library file names. 2019-11-04 09:20:08 -08:00
library_test.go Enforce correct rust library file names. 2019-11-04 09:20:08 -08:00
OWNERS Rust owners, fix syntax error and more specific 2019-10-25 10:14:49 -07:00
prebuilt.go Add AArch64 device Rust toolchain. 2019-09-24 10:35:28 -07:00
proc_macro.go Enforce correct rust library file names. 2019-11-04 09:20:08 -08:00
rust.go Enforce correct rust library file names. 2019-11-04 09:20:08 -08:00
rust_test.go Enforce correct rust library file names. 2019-11-04 09:20:08 -08:00
test.go Add rust_test and rust_test_host. 2019-10-29 17:19:03 -07:00
test_test.go Add rust_test and rust_test_host. 2019-10-29 17:19:03 -07:00
testing.go Add rust_test and rust_test_host. 2019-10-29 17:19:03 -07:00