Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nagisa/rust_libloading
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.8.9
Choose a base ref
...
head repository: nagisa/rust_libloading
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.9.0
Choose a head ref
  • 3 commits
  • 15 files changed
  • 2 contributors

Commits on Nov 5, 2025

  1. add no-std support

    AlexanderSchuetz97 authored and nagisa committed Nov 5, 2025
    Configuration menu
    Copy the full SHA
    4b98285 View commit details
    Browse the repository at this point in the history
  2. refactor: simplify null checks, remove some iffy implementations

    * `impl AsSymbolName for &[u16]` hides unconditional allocation (user
      could pass a `&str` or `&[u8]` or `&CStr` instead all of which should
      be more straightforward.
    * `impl AsFilename for &[T]` have awkward platform implications. With
      `T = u16` we require that buffer is valid UTF-16, for `T = u8` we
      require that it is UTF-8 but only on Windows. I'm not super
      comfortable with having these types in the cross-platform API
      surface currently. We can explore adding something as a follow-up, but
      for now no-std users will have to live with passing in a `&str`.
    * Similarly for `impl AsFilename for CString` family.
    * There are a couple of no-std capable tests that sufficiently test the
      functionality of no-std behaviour. For the rest it is fine to require
      that libstd is available. So this removes most of the duplicate no-std
      tests.
    nagisa committed Nov 5, 2025
    Configuration menu
    Copy the full SHA
    e893804 View commit details
    Browse the repository at this point in the history
  3. 0.9.0 release rites

    nagisa committed Nov 5, 2025
    Configuration menu
    Copy the full SHA
    dab97c5 View commit details
    Browse the repository at this point in the history
Loading