about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorJubilee <46493976+workingjubilee@users.noreply.github.com>2024-04-02 23:44:28 -0700
committerGitHub <noreply@github.com>2024-04-02 23:44:28 -0700
commitabb039359588483700ce27bf0ee37cccf636c5fc (patch)
tree59458a2e78a8ad3f341ae72abcdf239f50785017 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent8938f887d3d52327d086511131c70add1ae4773c (diff)
parent5af8187325210e3006874b1457fa6ec69293f0e9 (diff)
downloadrust-abb039359588483700ce27bf0ee37cccf636c5fc.tar.gz
rust-abb039359588483700ce27bf0ee37cccf636c5fc.zip
Rollup merge of #122411 - alexcrichton:wasm32-wasip2-cabi-realloc, r=m-ou-se
 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