about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2024-03-12 15:10:40 -0700
committerAlex Crichton <alex@alexcrichton.com>2024-03-13 08:15:08 -0700
commit5af8187325210e3006874b1457fa6ec69293f0e9 (patch)
treecba89ecc2c0e40d5dda1d2d02f44946ef734f72b /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent3311283f90dd62dcd322d6730f0dd09b3ee6d7fd (diff)
downloadrust-5af8187325210e3006874b1457fa6ec69293f0e9.tar.gz
rust-5af8187325210e3006874b1457fa6ec69293f0e9.zip
Provide `cabi_realloc` on `wasm32-wasip2` by default
This commit provides a component model intrinsic in the standard library
by default on the `wasm32-wasip2` target. This intrinsic is not
required by the component model itself but is quite common to use, for
example it's needed if a wasm module receives a string or a list.

The intention of this commit is to provide an overridable definition in
the standard library through a weak definition of this function. That
means that downstream crates can provide their own customized and more
specific versions if they'd like, but the standard library's version
should suffice for general-purpose use.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions