Skip to content

Commit

Permalink
Merge branch 'master' into parse-assoc-types
Browse files Browse the repository at this point in the history
  • Loading branch information
mversic committed Apr 23, 2024
2 parents 3ff88a9 + ca78140 commit efc19c9
Show file tree
Hide file tree
Showing 495 changed files with 3,481 additions and 2,209 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/cbindgen.yml
Expand Up @@ -7,6 +7,9 @@ on:
pull_request:
branches:
- master
merge_group:
types:
- checks_requested

jobs:
rustfmt-clippy:
Expand Down
17 changes: 17 additions & 0 deletions docs.md
Expand Up @@ -933,6 +933,23 @@ deprecated = "DEPRECATED_ENUM"
# default: nothing is emitted for deprecated enums
deprecated_with_notes = "DEPRECATED_ENUM_WITH_NOTE"

# An optional string that should come after the name of any enum variant which has been
# marked as `#[deprecated]` without note. For instance, "__attribute__((deprecated))"
# would be a reasonable value if targeting gcc/clang. A more portable solution would
# involve emitting the name of a macro which you define in a platform-specific
# way. e.g. "DEPRECATED_ENUM_VARIANT"
# default: nothing is emitted for deprecated enum variants
deprecated_variant = "DEPRECATED_ENUM_VARIANT"

# An optional string that should come after the name of any enum variant which has been
# marked as `#[deprecated(note = "reason")]`. `{}` will be replaced with the
# double-quoted string. For instance, "__attribute__((deprecated({})))" would be a
# reasonable value if targeting gcc/clang. A more portable solution would involve
# emitting the name of a macro which you define in a platform-specific
# way. e.g. "DEPRECATED_ENUM_WITH_NOTE(note)"
# default: nothing is emitted for deprecated enum variants
deprecated_variant_with_notes = "DEPRECATED_ENUM_VARIANT_WITH_NOTE({})"

# Whether enums with fields should generate destructors. This exists so that generic
# enums can be properly instantiated with payloads that are C++ types with
# destructors. This isn't necessary for structs because C++ has rules to
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
@@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly"

0 comments on commit efc19c9

Please sign in to comment.