mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-12-04 03:25:08 +02:00
Speaker notes for Android chapter.
This commit is contained in:
parent
bad5cc9f68
commit
536c1dc90b
@ -40,3 +40,10 @@ Build, push, and run the binary on your device:
|
|||||||
```shell
|
```shell
|
||||||
{{#include ../../build_all.sh:analyze_numbers}}
|
{{#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>
|
||||||
|
Loading…
Reference in New Issue
Block a user