mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
The driver now looks for all files under core/prelude/ and considers them all to be part of the prelude. The driver also now only processes the prelude in `--phase=check` and later, when it would actually be imported. With that done, add a simple `carbon_binary` build rule and use it to build the example in `//examples`. This should cause the example to be built as part of our continuous integration. --------- Co-authored-by: Jon Ross-Perkins <jperkins@google.com>
17 lines
590 B
Plaintext
17 lines
590 B
Plaintext
// Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
|
// Exceptions. See /LICENSE for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
// AUTOUPDATE
|
|
|
|
package Core library "prelude" api;
|
|
|
|
import library "prelude/operators";
|
|
import library "prelude/types";
|
|
|
|
// TODO: Uncomment once name deduplication works.
|
|
// TODO: These are here for name lookup. Add a way to export import and move them out.
|
|
// fn Int32() -> type = "int.make_type_32";
|
|
// fn Float(size: i32) -> type = "float.make_type";
|
|
// fn Bool() -> type = "bool.make_type";
|