Skip to content
This repository was archived by the owner on Dec 31, 2024. It is now read-only.

both macos and ios use schar on aarch64 #4

Merged
merged 2 commits into from
Oct 23, 2021
Merged

both macos and ios use schar on aarch64 #4

merged 2 commits into from
Oct 23, 2021

Conversation

Lokathor
Copy link
Owner

Closes #3

@Lokathor Lokathor merged commit ddbb7df into main Oct 23, 2021
@Lokathor Lokathor deleted the fix-2 branch October 23, 2021 01:21
Comment on lines +92 to +97
// c_char is unsigned (unless using apple)
pick! {
if #[cfg(target_os = "macos")] {
if #[cfg(any(
target_os = "macos",
target_os = "ios",
))] {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this would be better (we have the aarch64-apple-tvos target as well)?

#[cfg(target_vendor = "apple")]

Copy link
Owner Author

@Lokathor Lokathor Oct 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

T-lang actually wants to (maybe) deprecate that if possible: rust-lang/lang-team#102

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

c_char regression in v1.0.8
2 participants