1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

builder: restore module import cycle detection/topological reorder

This commit is contained in:
Delyan Angelov
2020-04-16 12:29:36 +03:00
parent 04db2d02b8
commit 8a1248b2e7
17 changed files with 117 additions and 32 deletions

View File

@@ -12,6 +12,10 @@ pub const (
v_version = '0.1.26'
)
pub const (
builtin_module_parts = ['math.bits' /* needed by strconv.ftoa */, 'strconv', 'strconv.ftoa', 'hash.wyhash', 'strings']
)
// vhash() returns the build string C.V_COMMIT_HASH . See cmd/tools/gen_vc.v .
pub fn vhash() string {
mut buf := [50]byte