Skip to content

Commit 0ccee7c

Browse files
authored
Merge pull request #298 from dtolnay/checkcfg
Resolve unexpected_cfgs warning
2 parents e7ad85e + cf43d0c commit 0ccee7c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ use std::process::{self, Command, Stdio};
77
fn main() {
88
println!("cargo:rerun-if-changed=build/probe.rs");
99

10+
println!("cargo:rustc-check-cfg=cfg(error_generic_member_access)");
11+
println!("cargo:rustc-check-cfg=cfg(thiserror_nightly_testing)");
12+
1013
let error_generic_member_access;
1114
let consider_rustc_bootstrap;
1215
if compile_probe(false) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy