1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-04-02 17:48:47 +02:00

Show path to auto-generate AIDL code on slide ()

This updates the surrounding text to bring it in line with the other
slides.
This commit is contained in:
Martin Geisler 2024-12-03 17:01:55 +01:00 committed by GitHub
parent 45bb2de220
commit d868584623
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1,7 +1,6 @@
# Generated Service API # Generated Service API
Binder generates a trait corresponding to the interface definition. trait to Binder generates a trait for each interface definition.
talk to the service.
_birthday_service/aidl/com/example/birthdayservice/IBirthdayService.aidl_: _birthday_service/aidl/com/example/birthdayservice/IBirthdayService.aidl_:
@ -10,7 +9,9 @@ _birthday_service/aidl/com/example/birthdayservice/IBirthdayService.aidl_:
} }
``` ```
_Generated trait_: _out/soong/.intermediates/.../birthdayservice/IBirthdayService.rs_:
<!-- The example below is a cleaned up and simplified version of the real code. -->
```rust,ignore ```rust,ignore
trait IBirthdayService { trait IBirthdayService {
@ -23,8 +24,6 @@ trait to talk to the service.
<details> <details>
- The generated bindings can be found at
`out/soong/.intermediates/<path to module>/`.
- Point out how the generated function signature, specifically the argument and - Point out how the generated function signature, specifically the argument and
return types, correspond the interface definition. return types, correspond the interface definition.
- `String` for an argument results in a different Rust type than `String` as a - `String` for an argument results in a different Rust type than `String` as a