Andrew Kelley
dbde5df568
clean up some self-hosted bitrot + don't assume libstdc++
...
closes #4682
The self-hosted compiler is still bit rotted and still not compiling
successfully yet. I have a more serious rework of the code in a
different branch.
2020-03-17 23:03:45 -04:00
Benjamin Feng
4aae55b4cc
Replace fmt with new fmtstream
2020-03-12 10:41:09 -05:00
Benjamin Feng
c11d1055b8
Integrated outstreams with new formatter
2020-03-12 10:26:28 -05:00
xackus
00be934569
short std.builtin enum literals in std lib
2020-03-01 13:57:41 -05:00
Andrew Kelley
87b9e744dd
update std lib to new Target API
2020-02-28 14:51:54 -05:00
Vexu
538d9a5dd8
remove uses of `@ArgType` and `@IntType`
2020-02-24 23:39:03 +02:00
Vexu
45da72c5b6
remove usages of `@typeId`, `@memberCount`, `@memberName` and `@memberType`
2020-02-24 23:09:01 +02:00
daurnimator
6ea6d5a4bd
std: use testing.allocator in tests
2020-02-14 19:15:09 +11:00
daurnimator
ca41567924
std: use testing.allocator in big int tests
2020-02-14 18:59:40 +11:00
daurnimator
b61e53cc40
std: bigint.deinit() shouldn't need a mutable pointer
2020-02-14 18:59:07 +11:00
Andrew Kelley
830e0ba2d2
enable native CPU feature for windows; disable failing tests
...
See #508 . These can be re-enabled when we upgrade to LLVM 10.
2020-01-21 21:46:06 -05:00
LemonBoy
e81b505960
Use the correct calling convention for AEABI intrinsics
2020-01-07 13:42:47 -05:00
Andrew Kelley
53913acaf7
zig fmt and update `extern fn` to `callconv(.C)`
2020-01-06 15:34:50 -05:00
Haze Booth
2e5342512f
remove @TypeOf() hacks for comptime_int/comptime_float
2020-01-05 02:33:23 -05:00
Andrew Kelley
cb56b26900
fix float ops with respect to vectors
...
also remove the redundant type parameter
2020-01-01 23:27:43 -05:00
ForLoveOfCats
b28824ef66
Add missing deferred deinits to `math.big.Int.toString` (mem leak fix)
2019-12-28 15:31:32 -05:00
Robin Voetter
4b4fbe3887
Replace @typeOf with @TypeOf in all zig source
...
This change was mostly made with `zig fmt` and this also modified some whitespace. Note that in some files, `zig fmt` produced incorrect code, so the change was made manually.
2019-12-10 11:09:41 -05:00
Andrew Kelley
8b2622cdd5
std.fmt.format: tuple parameter instead of var args
2019-12-08 22:53:51 -05:00
Andrew Kelley
343987cd05
remove `@inlineCall` from zig
2019-12-06 14:12:01 -05:00
Andrew Kelley
aa0daea541
update more of the std lib to use `@as`
2019-11-08 15:57:25 -05:00
Andrew Kelley
e0db54e89d
update the codebase to use `@as`
2019-11-08 15:57:24 -05:00
Brendan Hansknecht
52207f22de
Add karatsuba to big ints
2019-11-04 13:20:03 -05:00
Andrew Kelley
ed36dbbd9c
mv std/ lib/
...
that's all this commit does. further commits will fix cli flags and
such.
see #2221
2019-09-25 23:35:41 -04:00