remove unneeded linker args to make it work on stable

This commit is contained in:
Robin Appelman 2019-03-18 17:11:45 +01:00
commit c5451b09db
4 changed files with 1 additions and 5 deletions

View file

@ -2,7 +2,7 @@
## Usage
- build with `cargo +nightly build`
- build with `cargo build`
- run php with the module and call the defined method
```bash
php -d extension=target/debug/libhelloworld.so -r 'helloworld();'`

View file

@ -1,5 +1,4 @@
#![allow(unused_variables)]
#![feature(link_args)]
extern crate libc;
extern crate php;
@ -9,7 +8,6 @@ use php::*;
use zend::*;
use php::info::*;
#[link_args = "-Wl,-undefined,dynamic_lookup"]
extern {
pub fn php_printf(format: *const c_char , ...) -> size_t;
}