Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-10-04 | split the repo into a workspace | Christian Poveda | |
remove `clap` dependency :tada: update the book installation instructions | |||
2022-03-15 | add attributes to dynamic functions | Emil Gardström | |
this includes comments and must_use annotations | |||
2021-04-03 | codegen: Don't use a `sym` temporary in dynamic library code. | Emilio Cobos Álvarez | |
Fixes #2014. | |||
2021-04-03 | remove old comment | Dr. Chat | |
2021-04-03 | Deduplicate dyngen code | Dr. Chat | |
2021-04-03 | Remove `DynamicItems::has_required` | Dr. Chat | |
2021-04-03 | Add a flag to ensure all symbols are resolved when a library is loaded | Dr. Chat | |
2021-03-22 | Add from_library for generated dynamic library structs (#2011) | Wang, Chi | |
2020-12-02 | dyngen: Pass null-terminated byte strings to libloading. | Emilio Cobos Álvarez | |
Fixes #1938. | |||
2020-11-25 | dyngen: Handle variadic functions. | Emilio Cobos Álvarez | |
Right now trying to generate a dynamic library with variadic functions panics because we don't account for the extra `...` in the arguments. Keeping the current interface for variadic functions is tricky, as we cannot "wrap" a variadic function (VaList[1] is nightly-only). However, we don't need to. We're already exposing the libloading error, so exposing the function pointer field as public is just fine and allows consumers to call the variadic function. At that point the can_call() / CheckFoo libraries become pointless (you can just do library.function.is_ok() or such), so we can simplify the code as well removing those. [1]: https://doc.rust-lang.org/std/ffi/struct.VaList.html | |||
2020-11-25 | codegen: Minor nits for dynamic function generation. | Emilio Cobos Álvarez | |
2020-11-25 | Add dynamic loading support | Joe Ellis | |
Closes #1541. Closes #1846. Co-authored-by: Michael-F-Bryan <michaelfbryan@gmail.com> |