about summary refs log tree commit diff
path: root/src/rustc/driver/session.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/rustc/driver/session.rs')
-rw-r--r--src/rustc/driver/session.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rustc/driver/session.rs b/src/rustc/driver/session.rs
index 01dcd6930b3..8c085e6391d 100644
--- a/src/rustc/driver/session.rs
+++ b/src/rustc/driver/session.rs
@@ -144,6 +144,10 @@ type options =
      addl_lib_search_paths: ~[Path],
      maybe_sysroot: Option<Path>,
      target_triple: ~str,
+     // User-specified cfg meta items. The compiler itself will add additional
+     // items to the crate config, and during parsing the entire crate config
+     // will be added to the crate AST node.  This should not be used for
+     // anything except building the full crate config prior to parsing.
      cfg: ast::crate_cfg,
      binary: ~str,
      test: bool,