@@ -14,7 +14,7 @@ mod debuggers;
1414pub mod diagnostics;
1515pub mod errors;
1616mod executor;
17- pub mod header ;
17+ pub mod directives ;
1818mod json;
1919mod raise_fd_limit;
2020mod read2;
@@ -37,13 +37,13 @@ use rayon::iter::{ParallelBridge, ParallelIterator};
3737use tracing:: debug;
3838use walkdir:: WalkDir ;
3939
40- use self :: header :: { EarlyProps , make_test_description} ;
40+ use self :: directives :: { EarlyProps , make_test_description} ;
4141use crate :: common:: {
4242 CompareMode , Config , Debugger , Mode , PassMode , TestPaths , UI_EXTENSIONS , expected_output_path,
4343 output_base_dir, output_relative_path,
4444} ;
4545use crate :: executor:: { CollectedTest , ColorConfig , OutputFormat } ;
46- use crate :: header :: HeadersCache ;
46+ use crate :: directives :: HeadersCache ;
4747use crate :: util:: logv;
4848
4949/// Creates the `Config` instance for this invocation of compiletest.
@@ -254,8 +254,8 @@ pub fn parse_config(args: Vec<String>) -> Config {
254254 Some ( x) => panic ! ( "argument for --color must be auto, always, or never, but found `{}`" , x) ,
255255 } ;
256256 let llvm_version =
257- matches. opt_str ( "llvm-version" ) . as_deref ( ) . map ( header :: extract_llvm_version) . or_else (
258- || header :: extract_llvm_version_from_binary ( & matches. opt_str ( "llvm-filecheck" ) ?) ,
257+ matches. opt_str ( "llvm-version" ) . as_deref ( ) . map ( directives :: extract_llvm_version) . or_else (
258+ || directives :: extract_llvm_version_from_binary ( & matches. opt_str ( "llvm-filecheck" ) ?) ,
259259 ) ;
260260
261261 let run_ignored = matches. opt_present ( "ignored" ) ;
0 commit comments