add char support (#206)

* add char support

* add char test

* remove __wbindgen_char fns

* re-order travis script

* update serve script

* remove binds to unused char functions

* add more wide character items to chars list

* remove unused code

* add char to readme

* remove built file
This commit is contained in:
Robert Masen
2018-05-22 12:34:41 -05:00
committed by Alex Crichton
parent 17861a45ab
commit 4ddd93d75d
20 changed files with 437 additions and 5 deletions

View File

@ -32,6 +32,7 @@ tys! {
ANYREF
ENUM
RUST_STRUCT
CHAR
}
#[derive(Debug)]
@ -57,6 +58,7 @@ pub enum Descriptor {
Anyref,
Enum,
RustStruct(String),
Char,
}
#[derive(Debug)]
@ -122,6 +124,7 @@ impl Descriptor {
.collect();
Descriptor::RustStruct(name)
}
CHAR => Descriptor::Char,
other => panic!("unknown descriptor: {}", other),
}
}