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:
parent
bad5cc9f68
commit
536c1dc90b
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user