Markus Reiter

Results 208 comments of Markus Reiter

Nevermind. The `UL` macro is generated correctly as ```rust macro_rules! __cmacro__UL { ($X:ident) => { concat_idents!($X, UL) }; } ``` `ONE` currently generates ```rust pub const ONE: _ = concat_idents!(X...

`ONE` should now correctly generate ```rust pub const ONE: _ = 1; ```

I guess we can also add some support for `--rust-target` in `cmacro` so we can either not generate code for older versions (e.g. for function-like macros) or alter code generation.

I have now put the code generation for function-like macros behind the `experimental` feature. Variable-like macros should already always generate the correct code.

@pvdrz, please have another look here. Probably best to review https://github.com/rust-lang/rust-bindgen/pull/2543 first though.

@alex, it's blocked by https://github.com/rust-lang/rust-bindgen/pull/2561 at the moment, i.e. part of this PR depends on the sorting being fixed.

Note that this PR also includes the same changes.

So further testing/reviewing of https://github.com/rust-lang/rust-bindgen/pull/2561 would be appreciated to get this moving again.

I think this is likely due to https://github.com/Homebrew/brew/pull/15099 still being open.

Nevermind, these are using `:page_match`, so doesn't seem related to the HEAD request issue. > Increasing number of casks are failing livecheck audits due to CDNs blocking the requests. Does...