Skip to content

Commit

Permalink
Merge pull request #40 from dtolnay/macrunner
Browse files Browse the repository at this point in the history
Use macOS runner with newer Clang version
  • Loading branch information
dtolnay authored Feb 9, 2025
2 parents 3ffeb92 + 7a60245 commit 6394781
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
name: macOS
needs: pre_ci
if: needs.pre_ci.outputs.continue
runs-on: macos-latest
runs-on: macos-15
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions src/kind.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ kind! {
AttributedType,
AutoType,
AvailabilityAttr,
AvailableOnlyInDefaultEvalMethodAttr,
BinaryConditionalOperator,
BinaryOperator,
BindingDecl,
Expand Down
10 changes: 10 additions & 0 deletions tests/exhaustive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ pub enum Clang {
AttributedType(AttributedType),
AutoType(AutoType),
AvailabilityAttr(AvailabilityAttr),
AvailableOnlyInDefaultEvalMethodAttr(AvailableOnlyInDefaultEvalMethodAttr),
BinaryConditionalOperator(BinaryConditionalOperator),
BinaryOperator(BinaryOperator),
BindingDecl(BindingDecl),
Expand Down Expand Up @@ -442,6 +443,13 @@ pub struct AvailabilityAttr {
pub range: SourceRange,
}

#[derive(Deserialize, Debug)]
#[serde(deny_unknown_fields)]
#[non_exhaustive]
pub struct AvailableOnlyInDefaultEvalMethodAttr {
pub range: SourceRange,
}

#[derive(Deserialize, Debug)]
#[serde(deny_unknown_fields)]
#[non_exhaustive]
Expand Down Expand Up @@ -1741,6 +1749,8 @@ pub struct FunctionDecl {
pub constexpr: bool,
#[serde(default)]
pub variadic: bool,
#[serde(default)]
pub immediate: bool,
#[serde(rename = "explicitlyDefaulted", default)]
pub explicitly_defaulted: ExplicitlyDefaulted,
}
Expand Down

0 comments on commit 6394781

Please sign in to comment.