MODULES

Constant MODULES 

Source
pub const MODULES: &[(&str, &str)];
Expand description

Every module in compiler/lib/, under the name an import writes.

The list is here rather than discovered by a build.rs walk because a file appearing in the standard library is an API addition — a new name every program in the language can suddenly import — and one that should be written down and reviewed rather than picked up. It is not trusted to be complete: beck-cli/tests/stdlib.rs reads the directory and fails if a file there is missing from here, which is the same gate the directory has always had for its tests.