-
Notifications
You must be signed in to change notification settings - Fork 707
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistent naming scheme for whitelisting / blacklisting vs. rustified enum configurations. #1125
Labels
Comments
emilio
added a commit
to emilio/servo
that referenced
this issue
Oct 31, 2017
Constified enums are default now. I think I want to introduce an option to bindgen to allow setting the default enum behavior, but it doesn't need to block this. The ServoBindings.toml changes are somewhat hacky, but that's because of rust-lang/rust-bindgen#1125. Also, the fixups now need to account for whitespace, since quote generates stuff like root :: nsString, and we don't rustfmt the bindings if there's no rustfmt installed. Bug: 1412486 Reviewed-by: xidorn MozReview-Commit-ID: EY5eNnCiTIw
emilio
added a commit
to emilio/servo
that referenced
this issue
Oct 31, 2017
Constified enums are default now. I think I want to introduce an option to bindgen to allow setting the default enum behavior, but it doesn't need to block this. The ServoBindings.toml changes are somewhat hacky, but that's because of rust-lang/rust-bindgen#1125. Also, the fixups now need to account for whitespace, since quote generates stuff like root :: nsString, and we don't rustfmt the bindings if there's no rustfmt installed. Bug: 1412486 Reviewed-by: xidorn MozReview-Commit-ID: EY5eNnCiTIw
emilio
added a commit
to emilio/servo
that referenced
this issue
Oct 31, 2017
Constified enums are default now. I think I want to introduce an option to bindgen to allow setting the default enum behavior, but it doesn't need to block this. The ServoBindings.toml changes are somewhat hacky, but that's because of rust-lang/rust-bindgen#1125. Also, the fixups now need to account for whitespace, since quote generates stuff like root :: nsString, and we don't rustfmt the bindings if there's no rustfmt installed. Bug: 1412486 Reviewed-by: xidorn MozReview-Commit-ID: EY5eNnCiTIw
moz-v2v-gh
pushed a commit
to mozilla/gecko-dev
that referenced
this issue
Nov 1, 2017
Constified enums are default now. I think I want to introduce an option to bindgen to allow setting the default enum behavior, but it doesn't need to block this. The ServoBindings.toml changes are somewhat hacky, but that's because of rust-lang/rust-bindgen#1125. Also, the fixups now need to account for whitespace, since quote generates stuff like root :: nsString, and we don't rustfmt the bindings if there's no rustfmt installed. MozReview-Commit-ID: FZOvZnfYXj5 --HG-- extra : rebase_source : 6cda8e65315d97f394ed2441dd882b6ff955efae
Fischer-L
pushed a commit
to Fischer-L/gecko
that referenced
this issue
Nov 1, 2017
Constified enums are default now. I think I want to introduce an option to bindgen to allow setting the default enum behavior, but it doesn't need to block this. The ServoBindings.toml changes are somewhat hacky, but that's because of rust-lang/rust-bindgen#1125. Also, the fixups now need to account for whitespace, since quote generates stuff like root :: nsString, and we don't rustfmt the bindings if there's no rustfmt installed. MozReview-Commit-ID: FZOvZnfYXj5
JerryShih
pushed a commit
to JerryShih/gecko-dev
that referenced
this issue
Nov 2, 2017
Constified enums are default now. I think I want to introduce an option to bindgen to allow setting the default enum behavior, but it doesn't need to block this. The ServoBindings.toml changes are somewhat hacky, but that's because of rust-lang/rust-bindgen#1125. Also, the fixups now need to account for whitespace, since quote generates stuff like root :: nsString, and we don't rustfmt the bindings if there's no rustfmt installed. MozReview-Commit-ID: FZOvZnfYXj5
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified-and-comments-removed
that referenced
this issue
Oct 2, 2019
Constified enums are default now. I think I want to introduce an option to bindgen to allow setting the default enum behavior, but it doesn't need to block this. The ServoBindings.toml changes are somewhat hacky, but that's because of rust-lang/rust-bindgen#1125. Also, the fixups now need to account for whitespace, since quote generates stuff like root :: nsString, and we don't rustfmt the bindings if there's no rustfmt installed. MozReview-Commit-ID: FZOvZnfYXj5 UltraBlame original commit: b21ef5bb00d37e161d618fc0e702a647e445c0f8
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-comments-removed
that referenced
this issue
Oct 2, 2019
Constified enums are default now. I think I want to introduce an option to bindgen to allow setting the default enum behavior, but it doesn't need to block this. The ServoBindings.toml changes are somewhat hacky, but that's because of rust-lang/rust-bindgen#1125. Also, the fixups now need to account for whitespace, since quote generates stuff like root :: nsString, and we don't rustfmt the bindings if there's no rustfmt installed. MozReview-Commit-ID: FZOvZnfYXj5 UltraBlame original commit: b21ef5bb00d37e161d618fc0e702a647e445c0f8
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified
that referenced
this issue
Oct 2, 2019
Constified enums are default now. I think I want to introduce an option to bindgen to allow setting the default enum behavior, but it doesn't need to block this. The ServoBindings.toml changes are somewhat hacky, but that's because of rust-lang/rust-bindgen#1125. Also, the fixups now need to account for whitespace, since quote generates stuff like root :: nsString, and we don't rustfmt the bindings if there's no rustfmt installed. MozReview-Commit-ID: FZOvZnfYXj5 UltraBlame original commit: b21ef5bb00d37e161d618fc0e702a647e445c0f8
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The configuration for rustified-enum uses
canonical_name
. The configuration for whitelisting usescanonical_path
.I think rustified_enum and similar configs should use
canonical_path
too, since that handles namespaces properly.The text was updated successfully, but these errors were encountered: