Show the output

pull/296/head
Yuki Okushi 3 years ago
parent 044051c0ed
commit 543c9b1bd7
No known key found for this signature in database
GPG Key ID: DABA5B072961C18A

@ -297,7 +297,8 @@ gcc call_rust.c -o call_rust -lrust_from_c -L./target/debug
Finally, we can call Rust code from C with `LD_LIBRARY_PATH` specified: Finally, we can call Rust code from C with `LD_LIBRARY_PATH` specified:
```sh ```sh
LD_LIBRARY_PATH=./target/debug ./call_rust $ LD_LIBRARY_PATH=./target/debug ./call_rust
Hello from Rust!
``` ```
That's it! That's it!

Loading…
Cancel
Save