Docs.rs
cranelift-codegen-shared-0.114.0
cranelift-codegen-shared 0.114.0
Permalink
Docs.rs crate page
Apache-2.0 WITH LLVM-exception
Links
Repository
crates.io
Source
Owners
alexcrichton
fitzgen
yurydelendik
sunfishcode
bnjbvr
github:bytecodealliance:wasmtime-publish
Dependencies
Versions
100%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
cranelift_
codegen_
shared
0.114.0
In cranelift_
codegen_
shared::
constant_
hash
cranelift_codegen_shared
::
constant_hash
Function
simple_hash
Copy item path
Source
pub fn simple_hash(s: &
str
) ->
usize
Expand description
A primitive hash function for matching opcodes.