mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
builtin: add bdwgc to thirdparty, statically link it on Windows (#10542)
This commit is contained in:
7
thirdparty/libgc/amalgamation.txt
vendored
Normal file
7
thirdparty/libgc/amalgamation.txt
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
The libgc source is distributed here as an amalgamation (https://sqlite.org/amalgamation.html).
|
||||
This means that, rather than mirroring the entire bdwgc repo here,
|
||||
[this script](https://gist.github.com/spaceface777/34d25420f2dc4953fb7864f44a211105) was used
|
||||
to bundle all local includes together into a single C file, which is much easier to handle.
|
||||
Furthermore, the script above was also used to minify (i.e. remove comments and whitespace in)
|
||||
the garbage collector source. Together, these details help keep the V source distribution small,
|
||||
can reduce compile times by 3%-15%, and can help C compilers generate more optimized code.
|
30266
thirdparty/libgc/gc.c
vendored
Normal file
30266
thirdparty/libgc/gc.c
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1081
thirdparty/libgc/gc.h
vendored
Normal file
1081
thirdparty/libgc/gc.h
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user