1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2024-12-02 11:03:18 +02:00

Speaker notes for Android chapter.

This commit is contained in:
Andrew Walbran 2023-01-20 10:56:03 +00:00
parent bad5cc9f68
commit 536c1dc90b

View File

@ -40,3 +40,10 @@ Build, push, and run the binary on your device:
```shell
{{#include ../../build_all.sh:analyze_numbers}}
```
<details>
`#[no_mangle]` disables Rust's usual name mangling, so the exported symbol will just be the name of
the function. You can also use `#[export_name = "some_name"]` to specify whatever name you want.
</details>