about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/struct-vec.js
diff options
context:
space:
mode:
authorAlex Richardson <alexrichardson@google.com>2024-11-12 17:27:52 -0800
committerAlex Richardson <alexrichardson@google.com>2024-12-10 08:33:29 -0800
commit028ca8e6160bc193cf6e119b9f22c7f81ff5dbde (patch)
tree812e35e8fcb19cb1f38aea1ce849db76f7e36d22 /tests/rustdoc-js-std/struct-vec.js
parent33c245b9e98bc91e18ea1c5033824f4c6f92766f (diff)
downloadrust-028ca8e6160bc193cf6e119b9f22c7f81ff5dbde.tar.gz
rust-028ca8e6160bc193cf6e119b9f22c7f81ff5dbde.zip
De-duplicate and improve definition of core::ffi::c_char
Instead of having a list of unsigned char targets for each OS, follow the
logic Clang uses and instead set the value based on architecture with
a special case for Darwin and Windows operating systems. This makes it
easier to support new operating systems targeting Arm/AArch64 without
having to modify this config statement for each new OS. The new list does
not quite match Clang since I noticed a few bugs in the Clang
implementation (https://github.com/llvm/llvm-project/issues/115957).

Fixes: https://github.com/rust-lang/rust/issues/129945
Diffstat (limited to 'tests/rustdoc-js-std/struct-vec.js')
0 files changed, 0 insertions, 0 deletions