Mads Marquart

Results 381 comments of Mads Marquart

`std::os::raw` has recently been moved/duplicated to `core::ffi` under an unstable feature flag, tracking issue here: https://github.com/rust-lang/rust/issues/94501

Yeah well, I thought about it a year ago, and it took me a year... Anyhow, wonderful that you're on board! I might whip up a PR at some point,...

I know how it is, don't stress, I don't mind if it takes a few months!

Wonderful, no worries about the merge mistake, happens to the best of us ;) This PR is fairly close to serviceable now (just need to do a new release of...

No problem, take all the time you need - I'm just enjoying my summer holidays, have lots of other things to distract me with ;)

Idea: Use the [`callgrind`](https://crates.io/crates/callgrind) crate or similar to send "client requests" to Valgrind instead of the blunt `--toggle-collect` that this PR uses now.

Another alternative: Install a [fork of `valgrind` that works on macOS](https://github.com/LouisBrunner/valgrind-macos)

I don't think you should be trying to get Clang / LLVM to do the work - the fact that `rustc` is based on that is supposed to be an...

I've included this in my fork `objc2`, see https://github.com/madsmtm/objc2/pull/104 and code [objc2/src/macros.rs#L33-L329](https://github.com/madsmtm/objc2/blob/24385292151dc350dacb1a8ac58892666421dbb5/objc2/src/macros.rs#L33-L329). I've tried to include `git` attribution where possible, really couldn't have done it without all of the amazing...

My three cents on some of the still open questions here. **Stability of ident hashing:** This is also [done in the `defmt` crate](https://github.com/knurling-rs/defmt/blob/defmt-v0.3.1/macros/src/construct.rs), so at least it's not unheard of,...