diff options
author | Matthew Maurer <mmaurer@google.com> | 2024-07-30 11:26:24 +0200 |
---|---|---|
committer | Miguel Ojeda <ojeda@kernel.org> | 2024-08-23 06:25:59 +0200 |
commit | c6945acad7a14b6afb390a4afc1d354ef5413ea6 (patch) | |
tree | aca94831be93f1de0136d2d8a5a58855a4b3c64e /rust | |
parent | rust: init: add `write_[pin_]init` functions (diff) | |
download | linux-c6945acad7a14b6afb390a4afc1d354ef5413ea6.tar.xz linux-c6945acad7a14b6afb390a4afc1d354ef5413ea6.zip |
rust: support arrays in target JSON
Some configuration options such as the supported sanitizer list are
arrays. To support using Rust with sanitizers on x86, we must update the
target.json generator to support this case.
The Push trait is removed in favor of the From trait because the Push
trait doesn't work well in the nested case where you are not really
pushing values to a TargetSpec.
Signed-off-by: Matthew Maurer <mmaurer@google.com>
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Tested-by: Gatlin Newhouse <gatlin.newhouse@gmail.com>
Link: https://lore.kernel.org/r/20240730-target-json-arrays-v1-1-2b376fd0ecf4@google.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust')
0 files changed, 0 insertions, 0 deletions