Now that clippy is installable via rustup and is generally more stable,
we no longer need special scripts. `rustup component add clippy-preview` is
sufficient to install clippy, and `cargo clippy` is sufficient to run it.
Also, don't run clippy in test-all.sh. We do generally want to fix things
clippy reports, however it's not a requirement that the code be kept
clippy-warning-free at all times.
The individual crates are published separately from the main repository
on crates.io. To ensure that a copy of the LICENSE file accompanies all
published copies of the code, give each crate its own LICENSE file.
The biggest change is the split from FunctionIndex to
DefinedFuncIndex to FuncIndex. Take better advantage of this by
converting several Vecs to PrimaryMaps.
Also, table_addr can now handle indices of the table index type,
so we don't need to explicitly uextend them anymore.
* Implement.
* Clean and doc
* Collect base addresses instead of leaking them
* Fix code for 1.25.
* Simplify $assert
* Use AbiParam::special.
* Use &mut self in base_addr
With new versions of cretonne-codegen:
- Non-colocated calls are emitted as a movabs with an indirect call.
This uses an Abs8 relocation.
- Colocated calls are emitted as direct calls, but the "+ 4"
adjustment is now folded into the addend, so we don't need to
handle it explicitly in the X86PCRel4 code anymore.
The wasm function index space consists of the index space of the
imported functions concatenated with the index space of the defined
functions. When iterating through function definitions, it's necessary
to adjust the index when a function-index-space index is needed.