You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
unexpected `cfg` condition value: `pg12`
Note: expected values for `feature` are: `default`, `pg16`, and `pg_test`
Help: consider adding `pg12` as a feature in `Cargo. toml`
Note: see <https:// doc. rust-lang. org/ nightly/ rustc/ check-cfg/ cargo-specifics. html> for more information about checking conditional configuration
Note: `#[warn(unexpected_cfgs)]` on by default
I do not need pg12.
Below is Cargo.toml
[features]
default = []
pg16 = ["pgrx/pg16", "pgrx-tests/pg16"]
pg_test = []
[dependencies]
pgrx = { version = "=0.12.9", default-features = false, features = ["pg16"] }
[dev-dependencies]
pgrx-tests = { version = "0.12.9", features = ["pg16"] }
How to solve the issue? Any suggestions?
The text was updated successfully, but these errors were encountered:
I get unexpected
cfg
condition value warning.I do not need
pg12
.Below is
Cargo.toml
How to solve the issue? Any suggestions?
The text was updated successfully, but these errors were encountered: