-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Features that require libc
#500
Labels
A-objc2
Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` crates
Milestone
Comments
madsmtm
added
the
A-objc2
Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` crates
label
Sep 3, 2023
Is there any real downside to using it? I'm using it in the |
Downside is compilation speed, it's an extra dependency (with a I'd be fine with using it in |
madsmtm
added a commit
that referenced
this issue
Dec 27, 2023
Part of the work required to move `MainThreadMarker` to `objc2` (since `MainThreadMarker::run_on_main` can't easily exist in the `objc2` crate). CC #500.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We kinda need to figure out a general policy on how we handle features that require
libc
(or at least just linking to it).There are at least two things I'd like to do:
MainThreadMarker
intoobjc2
(with a more efficient implementation, namelylibc::pthread_main_np
)objc2
? I feel like it belongs in some lower-level library, though we don't have that, so I guess it'll have to be here.malloc
support requireslibc::free
, I'd like to remove that feature gate to be able to verify more things indebug_assertions
. Done in Work towards removingmalloc_buf
#547.The text was updated successfully, but these errors were encountered: