Commit Graph

12 Commits

Author SHA1 Message Date
Ivan Molodetskikh d4a222f90a Fix typo in GHA workflow 2020-12-30 19:18:56 +03:00
Simonas Kazlauskas 28d8c5d95f Refresh the actions file
* Remove deprecated usage of set-path as per
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
* Set TARGET variable for tests
2020-10-10 18:41:24 +03:00
Simonas Kazlauskas f75a0d0606 Do not encourage use of libloading for TLS
On MSVC Windows loading a TLS symbol will give an address to the
initializer (which when overwritten simply changes the default value new
threads gain for the variable).

On macOS thread locals are misimplemented entirely.

On Linux things "just work", but unknown to what extent, really.

Since the behaviour of using thread local variables as if they were
plain global variables is mostly undefined, lets just not make any
claims of this working.
2020-08-22 19:53:18 +00:00
Simonas Kazlauskas bbc5028a88 Improve tests
* Don’t forget to CI the thread-local support;
* Clean up some tests;
* Properly pass thorugh the target to use for the test helper.
2020-08-22 19:53:18 +00:00
Simonas Kazlauskas 5b26e8e1af Generate documentation and run clippy in CI 2020-08-22 19:53:18 +00:00
Mateusz Mikuła 852b9741bc CI: remove no longer necessary workaround 2020-05-18 13:10:19 +02:00
Simonas Kazlauskas 32368c0de5 Implement the Error type
This allows us to:

a) remove the panics in this library and give the control over what to
do to the user;
b) expose the error conditions to the user better, even if just slightly;
c) implement the modern error handling currently implemented in many of
the modern Rust libraries.
2020-04-05 22:25:39 +03:00
Simonas Kazlauskas 95e4bdbe81 Bump MSRV in CI 2020-04-05 17:28:38 +03:00
Simonas Kazlauskas 20d922c81d Raise CI step timeout to 20 minutes 2020-04-05 04:39:55 +03:00
Simonas Kazlauskas facdccaf16 Do not test nonexistent examples 2020-04-05 01:19:46 +03:00
Simonas Kazlauskas 47c10024b2 Add redox and fuchsia 2020-04-05 01:10:43 +03:00
Simonas Kazlauskas fcdda33f46 Move to github workflows 2020-04-05 00:45:43 +03:00