Skip to content

Commit d3c12f8

Browse files
committed
better docs
1 parent c573ee6 commit d3c12f8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

crates/compilers/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ pub struct Project<C: Compiler = MultiCompiler, T: ArtifactOutput = Configurable
7878
/// Additional settings for cases when default compiler settings are not enough to cover all
7979
/// possible restrictions.
8080
pub additional_settings: BTreeMap<String, C::Settings>,
81+
/// Mapping from file path to requrements on settings to compile it.
82+
///
83+
/// This file will only be included into compiler inputs with profiles which satisfy the
84+
/// restrictions.
8185
pub restrictions:
8286
BTreeMap<PathBuf, RestrictionsWithVersion<<C::Settings as CompilerSettings>::Restrictions>>,
8387
/// Whether caching is enabled

0 commit comments

Comments
 (0)