32 lines
5.1 KiB
HTML
32 lines
5.1 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Release 0.6.0 (2020-04-05)"><title>libloading::changelog::r0_6_0 - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-42caa33d.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="libloading" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.0 (9fc6b4312 2025-01-07)" data-channel="1.84.0" data-search-js="search-92e6798f.js" data-settings-js="settings-0f613d39.js" ><script src="../../../static.files/storage-59e33391.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../libloading/index.html">libloading</a><span class="version">0.8.5</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module r0_6_0</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#breaking-changes" title="Breaking changes">Breaking changes</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In libloading::<wbr>changelog</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../../index.html">libloading</a>::<wbr><a href="../index.html">changelog</a></span><h1>Module <span>r0_6_0</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/libloading/changelog.rs.html#285">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Release 0.6.0 (2020-04-05)</p>
|
|
<ul>
|
|
<li>Introduced a new method <a href="../../os/unix/struct.Library.html#method.get_singlethreaded" title="method libloading::os::unix::Library::get_singlethreaded"><code>os::unix::Library::get_singlethreaded</code></a>;</li>
|
|
<li>Added (untested) support for building when targeting Redox and Fuchsia;</li>
|
|
<li>The APIs exposed by this library no longer panic and instead return an <code>Err</code> when it used
|
|
to panic.</li>
|
|
</ul>
|
|
<h3 id="breaking-changes"><a class="doc-anchor" href="#breaking-changes">§</a>Breaking changes</h3>
|
|
<ul>
|
|
<li>
|
|
<p>Minimum required (stable) version of Rust to build this library is now 1.40.0;</p>
|
|
</li>
|
|
<li>
|
|
<p>This crate now implements a custom <a href="../../enum.Error.html" title="enum libloading::Error"><code>Error</code></a> type and all APIs now return this type rather
|
|
than returning the <code>std::io::Error</code>;</p>
|
|
</li>
|
|
<li>
|
|
<p><code>libloading::Result</code> has been removed;</p>
|
|
</li>
|
|
<li>
|
|
<p>Removed the dependency on the C compiler to build this library on UNIX-like platforms.
|
|
<code>libloading</code> used to utilize a snippet written in C to work-around the unlikely possibility
|
|
of the target having a thread-unsafe implementation of the <code>dlerror</code> function. The effect of
|
|
the work-around was very opportunistic: it would not work if the function was called by
|
|
forgoing <code>libloading</code>.</p>
|
|
<p>Starting with 0.6.0, <a href="../../struct.Library.html#method.get" title="method libloading::Library::get"><code>Library::get</code></a> on platforms where <code>dlerror</code> is not MT-safe (such as
|
|
FreeBSD, DragonflyBSD or NetBSD) will unconditionally return an error when the underlying
|
|
<code>dlsym</code> returns a null pointer. For the use-cases where loading null pointers is necessary
|
|
consider using <a href="../../os/unix/struct.Library.html#method.get_singlethreaded" title="method libloading::os::unix::Library::get_singlethreaded"><code>os::unix::Library::get_singlethreaded</code></a> instead.</p>
|
|
</li>
|
|
</ul>
|
|
</div></details></section></div></main></body></html> |