granite-rust/library/std
Matthias Krüger e355b276bd
Rollup merge of - madsmtm:msg-send-no-clashing, r=thomcc
Refactor uses of `objc_msgSend` to no longer have clashing definitions

This is very similar to what Apple's own headers encourage you to do (cast the function pointer before use instead of making new declarations).

Additionally, I'm documenting a few of the memory management rules we're following, ensuring that the `args` function doesn't leak memory (if you wrap it in an autorelease pool).

Motivation is to avoid issues with clashing definitions, like described in https://github.com/rust-lang/rust/issues/12707#issuecomment-1570735643 and https://github.com/rust-lang/rust/issues/46188#issuecomment-1288058453, CC ``@bjorn3.``
2024-01-22 16:54:56 +01:00
..
benches mv std libs to library/ 2020-07-27 19:51:13 -05:00
src Rollup merge of - madsmtm:msg-send-no-clashing, r=thomcc 2024-01-22 16:54:56 +01:00
tests apply fmt 2024-01-11 15:04:48 +03:00
build.rs add teeos std impl 2023-12-07 10:33:03 +08:00
Cargo.toml Update compiler_builtins to 0.1.105 2024-01-09 20:30:56 -08:00