about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/basic.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-12-11 20:00:12 +0100
committerGitHub <noreply@github.com>2024-12-11 20:00:12 +0100
commitfe516ef9f4dc2152ad970093107630a8727a2772 (patch)
tree4359dee09e86cd5c4cf3a54636a3abb4ed50a5bd /tests/rustdoc-js-std/basic.js
parent5a6036a1802262f8cf02192b02026688d396f1d7 (diff)
parentdd3e98c58bc94533e875ac1d2b87163727d59cd2 (diff)
downloadrust-fe516ef9f4dc2152ad970093107630a8727a2772.tar.gz
rust-fe516ef9f4dc2152ad970093107630a8727a2772.zip
Rollup merge of #132975 - arichardson:ffi-c-char, r=tgross35
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
Closes https://github.com/rust-lang/rust/pull/131319
Diffstat (limited to 'tests/rustdoc-js-std/basic.js')
0 files changed, 0 insertions, 0 deletions