This commit is contained in:
Robin Appelman 2019-04-01 22:21:07 +02:00
commit aa1e5d7dca
14 changed files with 86 additions and 85 deletions

View file

@ -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]

View file

@ -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();'`
```

View file

@ -8,7 +8,7 @@ fn hello_other(other: String) {
#[ivory_export]
fn hello_world() {
printf("Hello world, Rust2!");
printf("Hello world, Rust!");
}
ivory_module!({