Update needed for Rust v1.77.1

error: useless use of `vec!`
   --> system/tools/aidl/tests/rust/test_client.rs:420:17
    |
420 |       let input = vec![
    |  _________________^
421 | |         binder::ParcelFileDescriptor::new(read_fd),
422 | |         binder::ParcelFileDescriptor::new(write_fd),
423 | |     ];
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
    = note: `-D clippy::useless-vec` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::useless_vec)]`
help: you can use an array directly
    |
420 ~     let input = [binder::ParcelFileDescriptor::new(read_fd),
421 ~         binder::ParcelFileDescriptor::new(write_fd)];
    |

error: aborting due to 1 previous error



Bug: 330185853
 ./test_compiler.py --prebuilt-path dist/rust-dev.tar.xz  --target aosp_cf_x86_64_phone --image

Test: m rust
Change-Id: I4f18e6741370a054cf928cf1dfdefe5d1773c2e1
1 file changed
tree: 3bc541521d47f7989557ab4f5879d1603e98105a
  1. aidl_api/
  2. analyzer/
  3. build/
  4. metadata/
  5. scripts/
  6. tests/
  7. trace/
  8. aidl-format.sh
  9. aidl.cpp
  10. aidl.h
  11. aidl_checkapi.cpp
  12. aidl_checkapi.h
  13. aidl_const_expressions.cpp
  14. aidl_dumpapi.cpp
  15. aidl_dumpapi.h
  16. aidl_language.cpp
  17. aidl_language.h
  18. aidl_language_l.ll
  19. aidl_language_y.yy
  20. aidl_to_common.cpp
  21. aidl_to_common.h
  22. aidl_to_cpp.cpp
  23. aidl_to_cpp.h
  24. aidl_to_cpp_common.cpp
  25. aidl_to_cpp_common.h
  26. aidl_to_java.cpp
  27. aidl_to_java.h
  28. aidl_to_ndk.cpp
  29. aidl_to_ndk.h
  30. aidl_to_rust.cpp
  31. aidl_to_rust.h
  32. aidl_typenames.cpp
  33. aidl_typenames.h
  34. aidl_unittest.cpp
  35. Android.bp
  36. ast_java.cpp
  37. ast_java.h
  38. ast_java_unittest.cpp
  39. check_valid.cpp
  40. check_valid.h
  41. CleanSpec.mk
  42. code_writer.cpp
  43. code_writer.h
  44. code_writer_unittest.cpp
  45. comments.cpp
  46. comments.h
  47. diagnostics.cpp
  48. diagnostics.h
  49. diagnostics.inc
  50. diagnostics_unittest.cpp
  51. generate_aidl_mappings.cpp
  52. generate_aidl_mappings.h
  53. generate_cpp.cpp
  54. generate_cpp.h
  55. generate_cpp_analyzer.cpp
  56. generate_cpp_analyzer.h
  57. generate_cpp_unittest.cpp
  58. generate_java.cpp
  59. generate_java.h
  60. generate_java_binder.cpp
  61. generate_ndk.cpp
  62. generate_ndk.h
  63. generate_rust.cpp
  64. generate_rust.h
  65. hiddenapi-greylist
  66. import_resolver.cpp
  67. import_resolver.h
  68. io_delegate.cpp
  69. io_delegate.h
  70. io_delegate_unittest.cpp
  71. location.cpp
  72. location.h
  73. logging.cpp
  74. logging.h
  75. main.cpp
  76. NOTICE
  77. options.cpp
  78. options.h
  79. options_unittest.cpp
  80. os.h
  81. OWNERS
  82. parser.cpp
  83. parser.h
  84. permission.cpp
  85. permission.h
  86. preprocess.cpp
  87. preprocess.h
  88. PREUPLOAD.cfg
  89. README.md
  90. run_integration_tests.sh
  91. TEST_MAPPING
README.md

Documentation for this project is currently maintained here:

https://source.android.com/devices/architecture/aidl/overview