Christoffer Lerno
dcfbca076f
Fix to zero length strings and better error when using assert with a non-constant error value.
2023-06-24 20:32:30 +02:00
Christoffer Lerno
b68b1e01b3
Updated grammar.
2023-06-24 18:24:04 +02:00
Christoffer Lerno
be04473af4
Name change, some updates using "from end" indexing.
2023-06-24 18:21:16 +02:00
Christoffer Lerno
fedffc2f35
Name change, some updates using "from end" indexing.
2023-06-24 15:20:40 +02:00
Christoffer Lerno
a187c55dfe
Improved pthread availability.
2023-06-24 14:23:42 +02:00
Pierre Curto
55a1f794cf
lib/std/encoding: add base64 support
...
Signed-off-by: Pierre Curto <pierre.curto@gmail.com >
2023-06-24 14:23:18 +02:00
Christoffer Lerno
68f6cb1286
Updated organization file functions, env naming.
2023-06-24 10:29:17 +02:00
Pierre Curto
0ab0f727ad
lib/std: fix ByteWriter.read_from method ( #793 )
...
* lib/std: fix ByteWriter.read_from method
When reading from a stream which does not have an available method,
ByteWriter would not make any progress if its buffer was empty.
Signed-off-by: Pierre Curto <pierre.curto@gmail.com >
* test/unit/stdlib/io: use separate module for TestReader
Signed-off-by: Pierre Curto <pierre.curto@gmail.com >
---------
Signed-off-by: Pierre Curto <pierre.curto@gmail.com >
2023-06-23 10:44:36 +02:00
Christoffer Lerno
c46017f0dc
Make MSVC happy about definite assignment.
2023-06-23 00:26:32 +02:00
Christoffer Lerno
1bd729a4bb
Remove accidental code include.
2023-06-23 00:17:13 +02:00
Christoffer Lerno
0eee9daf1d
Macros generating lambdas now actually is a thing.
2023-06-22 23:42:40 +02:00
Christoffer Lerno
d90fa5e292
Make errno implicitly convertible to int. Add getaddrinfo on all platforms. Fix addrinfo struct and sizes.
2023-06-22 02:06:37 +02:00
Christoffer Lerno
503a4de277
Cleanup of libc
2023-06-21 16:27:53 +02:00
Christoffer Lerno
ae9fca52ca
Update version
2023-06-21 16:27:53 +02:00
Christoffer Lerno
eddae3b7f7
Close linker context.
2023-06-21 16:27:53 +02:00
Christoffer Lerno
d5b01d3a8f
Native ls
2023-06-21 16:27:53 +02:00
Christoffer Lerno
ab93389031
- Updated posix/win32 stdlib namespacing
...
- Process stdlib
- Fix to void expression blocks
2023-06-21 16:27:53 +02:00
Christoffer Lerno
5c9eb264e8
Delete object files after linking.
2023-06-21 16:27:53 +02:00
Christoffer Lerno
4d552ae44d
Update $include syntax and behaviour. Remove top level $if completely.
2023-06-21 16:27:53 +02:00
Christoffer Lerno
3dd1741484
Fix of contract error location for @require #788
2023-06-20 21:35:48 +02:00
Christoffer Lerno
f9548cb213
Fix nested hash resolution for access identifiers. Fixes #789
2023-06-20 17:05:13 +02:00
Christoffer Lerno
c3da240bc0
Grammar fix.
2023-06-19 23:34:46 +02:00
Pierre Curto
f439539c6e
lib::std::core::bitorder: add read and write
...
Signed-off-by: Pierre Curto <pierre.curto@gmail.com >
2023-06-19 23:34:30 +02:00
Christoffer Lerno
57424d8b6b
Fixes #786 , constant initialization with constants sometimes causing an error lowering to LLVM. Fixes bug passing void as a vararg argument to an any vararg.
2023-06-19 10:38:37 +02:00
Christoffer Lerno
3bdeec3bc2
Incorrect defer/return value ordering in some cases.
2023-06-18 23:25:33 +02:00
Christoffer Lerno
2d46bdf8e3
$$trap and $$unreachable is automatically no_return.
2023-06-15 21:09:05 +02:00
Christoffer Lerno
5f87cb4c4f
Fix of #780 .
2023-06-13 18:30:57 +02:00
Christoffer Lerno
76d75ac375
Fix passing temporary objects by reference for methods.
2023-06-13 12:22:35 +02:00
Christoffer Lerno
75a6ae7111
Enable LLVM 15
2023-06-12 09:42:23 +02:00
Christoffer Lerno
cf83651c79
The new @if directive.
2023-06-11 18:56:37 +02:00
Christoffer Lerno
4c1edfb941
Dev ( #777 )
...
* The new @if directive.
2023-06-10 23:16:28 +02:00
Christoffer Lerno
82c3facb65
--obj, --emit-stdlib, --strip-unused
0.4godbolt-v2
2023-06-09 09:37:07 +02:00
Christoffer Lerno
266dba466c
Rename to no-emit-stdlib
0.4godbolt.v2
2023-06-06 15:25:25 +02:00
Christoffer Lerno
379a5f670f
Add no-obj and no-stdlib-codegen options.
2023-06-06 15:22:28 +02:00
Christoffer Lerno
8eaad81800
Dead strip by default. Add list to_string. Fix missing check for dynamic calls.
2023-06-05 14:54:17 +02:00
Christoffer Lerno
4baacc7d52
Formatting.
2023-06-03 12:08:11 +02:00
Christoffer Lerno
0de47d7c83
Ensure panic functions are never stripped.
0
0.4stripunused
2023-06-02 23:19:54 +02:00
Christoffer Lerno
cfd21f8ca2
Windows thread pool.
2023-06-02 23:19:54 +02:00
Christoffer Lerno
d0e8944c56
Updated task pool.
2023-06-02 21:58:25 +02:00
Christoffer Lerno
3e54d13b62
Prefer def
2023-06-02 20:08:45 +02:00
Christoffer Lerno
b30d130d92
Configurable Linux crt/crtbegin paths.
2023-05-31 21:26:23 +02:00
Christoffer Lerno
4cf98dab93
Add special ubuntu-20 release
0.4ubuntu20
2023-05-31 12:42:31 +02:00
Christoffer Lerno
ea1a5435bb
Dead strip on "strip unused"
2023-05-30 16:42:15 +02:00
Christoffer Lerno
275e3c6a09
Update with CPU type.
2023-05-30 16:42:15 +02:00
Christoffer Lerno
9de02efa01
Exclude main methods from dllexport.
2023-05-28 15:59:15 +02:00
Christoffer Lerno
e0cfb39d79
Add DLL export for exported functions on win32.
2023-05-28 15:00:46 +02:00
Christoffer Lerno
d4259368a2
Remove call convention.
2023-05-26 14:22:50 +02:00
Christoffer Lerno
07b107ff5e
Better handling of attribute definition errors. Resolves #753
2023-05-26 11:31:27 +02:00
Christoffer Lerno
b794c893d6
Dynamic dispatch.
2023-05-25 22:28:45 +02:00
Christoffer Lerno
2e498a426e
Improved the README example somewhat.
2023-05-22 09:47:46 +02:00