]> xenbits.xensource.com Git - unikraft/libs/libcxx.git/commit
patches: Backport upstream fix for __is_convertible
authorAndrei Tatar <andrei@unikraft.io>
Thu, 4 May 2023 14:20:31 +0000 (16:20 +0200)
committerUnikraft <monkey@unikraft.io>
Thu, 1 Jun 2023 19:30:34 +0000 (19:30 +0000)
commit4dd24506040b357ff1fea80df73c3d12440eb0bf
tree6a158d639d5460fa80f33c1c2e7e67f499b03c1e
parent39cdd0fba4706b67025bcc111ec4b1913d9a1bc2
patches: Backport upstream fix for __is_convertible

Replicate upstream commit 484e64f7e7b2c0494d7b2dbfdd528bcd707ee652.
libcxx previously used the `__is_convertible_to` builtin which wasn't
supported by GCC; this patch adds support for `__is_convertible` which
is available as of GCC 13.

Signed-off-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Maria Sfiraiala <maria.sfiraiala@gmail.com>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
Approved-by: Eduard Vintilă <eduard.vintila47@gmail.com>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #28
patches/0001-Use-__is_convertible-built-in-when-available.patch [new file with mode: 0644]