* clippy: Allow subsec_nanos usage for now.
The recommendation from clippy requires Rust 1.27, but we currently
support Rust 1.25 and later.
* Simplify ref pattern matches.
This was recommended by clippy.
It appears that having the meta directory crate be inside the codegen
directory is not enough to allow codegen to depend on it without it
being published. So, let's just publish it.
* Remove reserved_reg functionality.
This wasn't implemented, and if we need it in the future, it seems like
it would be better to extend the concept of global values to cover this.
* Use GlobalValue::reserved_value() for sentinal values.
* Adds decoration to the verifier errors.
example:
function %bad(i32) fast {
ebb0(v0: i32):
brnz.i32 v0, ebb1
return
^~~~~~
verifier inst1: Internal return not allowed with return_at_end=1
ebb1:
trapz.i32 v0, user6
return
}
Fixes#68
* Making it so that pretty_function_error and write_function_plain are both private.
* Changes write_ebb to decorate_ebb.
Adds documentation line to decorate_function.
* Removing Cargo.toml lib/serde addition
* Add serde functionality into lib.
* Fix so code is compatible with Rust version 1.25.0.
* Move ser/de functions to utility file, update description, remove borrow from arms.
* Remove commented out code.
* Added initial Rust codegen-meta implementation.
* Replace 'Cretonne' in comments.
* Prevent iterator overflow.
* 1.25.0 compatibility changes.
* Implemented debug traits for type variants.
* Added consistent comments.
* Cleaned up a loop via clippy fix.
* Added new license to codegen-meta Cargo.toml
* Edited lane type iterator `next` method.
* Removed functions that are not needed in Rust, and edited desc.
* Debug trait derived for valuetype.
* Added comments for iterator types in the base types submodule.
* Numbering is now handled in the cdsl/types.rs file.
* Moved type number logic into cdsl/types.
* Repeating the lane change cleanup.
* Removed codegen-meta crate from codegen deps.
* Typo fix.
* Addressing a patch note.
* Addressing patch note.
* Lowercase in vector names.
* Fixing a comment bug.
* Added a copy of the license file.
* Formatting changes.
* Cleaned up the vector type numbering.
* 1.25 compatibility.
* Fixed pattern match arms.