Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print correct version of bin tools #183

Merged
merged 3 commits into from
Jul 3, 2019

Conversation

sudosalim
Copy link
Contributor

Not something important. But if needed, I changed the version to the correct one specified in Cargo.toml. I use these tools for some testing and they print wrong version with --version.

Not something important, but I use these tools for some testing and
they print wrong version with --version flag.
@bjorn3
Copy link
Contributor

bjorn3 commented Jul 3, 2019

@sudosalim
Copy link
Contributor Author

https://doc.rust-lang.org/stable/cargo/reference/environment-variables.html#environment-variables-cargo-sets-for-crates:

let version = env!("CARGO_PKG_VERSION");

Thanks, did fix to use it.

src/wasm2obj.rs Outdated Show resolved Hide resolved
@sunfishcode
Copy link
Member

Looks good to me too!

@sunfishcode sunfishcode merged commit 89cd327 into bytecodealliance:master Jul 3, 2019
@sudosalim sudosalim deleted the tools-versions branch July 4, 2019 09:12
grishasobol pushed a commit to grishasobol/wasmtime that referenced this pull request Nov 29, 2021
…ealliance#187)

* Remove hashbrown and use BTree{Map,Set} from the alloc crate

wasmi-validation must handle untrusted input and hence we switch from
Hash{Set,Map} (whether std's or hashbrown's) to BTree{Set,Map} to avoid
algorithmic complexity attacks while retaining no_std support.

Closes bytecodealliance#183

* Improve memory locality of checking for duplicate exports

Using a sorted slice gives us the same O(N log N) worst case execution
time as using a BTreeMap, but using a single allocation as with HashMap,
so that we should see better memory locality and hence better constant
factors when checking for duplicate exports.
dhil added a commit to dhil/wasmtime that referenced this pull request May 27, 2024
avanhatt pushed a commit to wellesley-prog-sys/wasmtime that referenced this pull request Oct 23, 2024
Verifies the `iadd_extend_*` rules. The main challenge here was
specifying the `extended_value_from_value` extractor which is
polymorphic on its input and output widths.

Updates avanhatt#34
avanhatt pushed a commit to wellesley-prog-sys/wasmtime that referenced this pull request Oct 23, 2024
Verifies the `iadd_extend_*` rules. The main challenge here was
specifying the `extended_value_from_value` extractor which is
polymorphic on its input and output widths.

Updates avanhatt#34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants