binaryen_capi_sys/
lib.rs

1//! # Rust Raw Bindings for Binaryen C API
2//! ## Requestments
3//! * Installed Binaryen  (If it is nothing, this library will build binaryen. but need very long time(about 4m30s))
4//! * clang (for genetate binaryen)
5//! * libstdc++
6//! 
7//! When searching for the binaryen path, this library calculates backwards from the `wasm-opt` path.
8//! Be sure to set binaryen in the Path environment variable.
9//! It can also be specified by setting the `BINARYEN_PATH` environment variable.
10//! 
11//! ## Path Example
12//! ```
13//! /BINARYEN_PATH  
14//!  |- lib  
15//!     |- libbinaryen.a[.so]  
16//!  |- include  
17//!     |- binaryen-c.h  
18//!     |- wasm-delegations.def  
19//! ```
20
21#![allow(non_upper_case_globals)]
22#![allow(non_camel_case_types)]
23#![allow(non_snake_case)]
24
25include!(concat!(env!("OUT_DIR"), "/bindings.rs"));