mirror of
https://github.com/icewind1991/ivory.git
synced 2026-06-03 10:44:09 +02:00
remove unneeded linker args to make it work on stable
This commit is contained in:
parent
4d469a7e25
commit
c5451b09db
4 changed files with 1 additions and 5 deletions
|
|
@ -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();'`
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue