15 Commits

Author SHA1 Message Date
1816118c7a Make the error Send/Sync for anyhow 2024-12-30 19:32:48 -05:00
dd22d7a164 Implement standard errors 2024-12-30 18:48:19 -05:00
9edd9fb7b6 Allow building from source 2024-12-30 17:56:40 -05:00
4b4f1a93b7 slang-sys: Rebuild if SLANG_DIR env changes (#5) 2024-11-30 11:59:21 +01:00
dbe941c55e Fix readme example code 2024-11-23 23:33:47 +01:00
ba20d75cd4 Rename std lib to core module 2024-11-23 23:30:01 +01:00
6612431e0a Implement IMetadata 2024-10-29 12:23:56 +01:00
7deb377f78 Implement most of the reflection API 2024-10-28 20:50:45 +01:00
0efe5f8115 Improve error handling 2024-09-18 18:26:08 +02:00
e0f5e523b7 Upgrade to Slang v2024.1.29 2024-07-14 21:11:33 +02:00
3419fb03d9 Fix crash when enabling optimizations
Due to generating rust style enums for slang enums that can contain
more variants than explicitly defined, the generated optimized code
probably trunkated the integer values of these additional variants.
Fix by using constified enums for these cases.
2024-07-13 22:32:03 +02:00
85c4b2eb46 Add rustfmt config and format code
Close #3
2024-05-11 15:42:42 +02:00
01e584bdec Fix memory leak caused by wrongly placed addRef()
Close #4
2024-05-11 11:54:21 +02:00
095c719ff8 Implement ISession and remove ICompileRequest
The ICompileRequest is part of Slang's legacy API, and will be removed
in the future. The ISession and associated interfaces are to be used
instead.
2024-04-05 11:53:27 +02:00
5abe4533ba Initial commit 2024-03-02 10:51:46 +01:00