about summary refs log tree commit diff
path: root/src/libstd/sys/hermit/thread_local.rs
AgeCommit message (Collapse)AuthorLines
2020-07-12adjust remaining targetsRalf Jung-26/+0
2020-04-05Simplify dtor registration for HermitCore by using a list of destructorsStefan Lankes-43/+9
The implementation is similiar to macOS solution doesn't depend on additional OS support
2020-01-10make use of pointer::is_nullLzu Tao-2/+2
2019-11-29Format libstd/sys with rustfmtDavid Tolnay-6/+2
This commit applies rustfmt with rust-lang/rust's default settings to files in src/libstd/sys *that are not involved in any currently open PR* to minimize merge conflicts. THe list of files involved in open PRs was determined by querying GitHub's GraphQL API with this script: https://gist.github.com/dtolnay/aa9c34993dc051a4f344d1b10e4487e8 With the list of files from the script in outstanding_files, the relevant commands were: $ find src/libstd/sys -name '*.rs' \ | xargs rustfmt --edition=2018 --unstable-features --skip-children $ rg libstd/sys outstanding_files | xargs git checkout -- Repeating this process several months apart should get us coverage of most of the rest of the files. To confirm no funny business: $ git checkout $THIS_COMMIT^ $ git show --pretty= --name-only $THIS_COMMIT \ | xargs rustfmt --edition=2018 --unstable-features --skip-children $ git diff $THIS_COMMIT # there should be no difference
2019-11-13protect creation of destructors by a mutexStefan Lankes-0/+3
add on HermizCore an additional lock to protect static data
2019-10-06redesign of the interface to the unikernel HermitCoreStefan Lankes-0/+61
- the old interface between HermitCore and the Rust Standard Library based on a small C library (newlib) - remove this interface and call directly the unikernel - remove the dependency to the HermitCore linker - use rust-lld as linker