mirror of
https://github.com/icewind1991/ivory.git
synced 2026-06-03 10:44:09 +02:00
use rust 2018
This commit is contained in:
parent
c5451b09db
commit
8627b29e4b
3 changed files with 3 additions and 4 deletions
|
|
@ -6,6 +6,7 @@ keywords = ["php", "php-extension"]
|
|||
description = "A library to build PHP extensions in Rust."
|
||||
license = "MIT"
|
||||
repository = "https://github.com/rethinkphp/php-rs"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
libc = "0.2.0"
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
name = "helloworld"
|
||||
version = "0.1.0"
|
||||
authors = ["Jin Hu <bixuehujin@gmail.com>"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
libc = "0.2.0"
|
||||
|
|
|
|||
|
|
@ -1,11 +1,8 @@
|
|||
#![allow(unused_variables)]
|
||||
|
||||
extern crate libc;
|
||||
extern crate php;
|
||||
|
||||
use libc::*;
|
||||
use php::*;
|
||||
use zend::*;
|
||||
use php::zend::*;
|
||||
use php::info::*;
|
||||
|
||||
extern {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue