mirror of
https://github.com/icewind1991/ivory.git
synced 2026-06-03 18:54:07 +02:00
cleanup
This commit is contained in:
parent
99bdad5ec0
commit
aa1e5d7dca
14 changed files with 86 additions and 85 deletions
|
|
@ -5,7 +5,6 @@ authors = ["Robin Appelman <robin@icewind.nl>"]
|
|||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
libc = "0.2.50"
|
||||
ivory = { path = "../../ivory", version = "0.1.0" }
|
||||
|
||||
[lib]
|
||||
|
|
|
|||
|
|
@ -5,5 +5,5 @@
|
|||
- build with `cargo build`
|
||||
- run php with the module and call the defined method
|
||||
```bash
|
||||
php -d extension=target/debug/libhelloworld.so -r 'helloworld();'`
|
||||
php -d extension=../../target/debug/libhelloworld.so -r 'helloworld();'`
|
||||
```
|
||||
|
|
@ -8,7 +8,7 @@ fn hello_other(other: String) {
|
|||
|
||||
#[ivory_export]
|
||||
fn hello_world() {
|
||||
printf("Hello world, Rust2!");
|
||||
printf("Hello world, Rust!");
|
||||
}
|
||||
|
||||
ivory_module!({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue