source: general/prog/rust.xml@ f7dd8651

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since f7dd8651 was f7dd8651, checked in by Ken Moffat <ken@…>, 5 years ago

Rustc-1.37.0. This is only really needed for the new librsvg, or firefox-70 if you are going to stick with the latest firefox series.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22245 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 24.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY rust-download-http "https://static.rust-lang.org/dist/rustc-&rust-version;-src.tar.gz">
8 <!ENTITY rust-download-ftp " ">
9 <!ENTITY rust-md5sum "e67432b37150f13e186ebfb67e5192fb">
10 <!ENTITY rust-size "147 MB">
11 <!-- Gentle Reminder: buildsize is how much the user requires for the real
12 install, i.e. the source with its DESTDIR *plus* the DESTDIR. You
13 can 'mkdir /tmp/RUST ; cp -a install/* /tmp/RUST' and then run 'du -sch'
14 to measure it. -->
15
16 <!ENTITY rust-buildsize "5.3GB (375 MB installed) including 429MB of ~/.cargo files for the user building this. Add 1.7 GB if running the tests">
17 <!ENTITY rust-time "24 SBU (add 13 SBU for tests, both with 4 processors)">
18]>
19
20<sect1 id="rust" xreflabel="rustc-&rust-version;">
21 <?dbhtml filename="rust.html"?>
22
23 <sect1info>
24 <othername>$LastChangedBy$</othername>
25 <date>$Date$</date>
26 </sect1info>
27
28 <title>Rustc-&rust-version;</title>
29
30 <indexterm zone="rust">
31 <primary sortas="a-rust">Rust</primary>
32 </indexterm>
33
34 <sect2 role="package">
35 <title>Introduction to Rust</title>
36
37 <para>
38 The <application>Rust</application> programming language is designed
39 to be a safe, concurrent, practical language.
40 </para>
41
42 <para>
43 This package is updated on a six-weekly release cycle. Because it is
44 such a large and slow package to build, and is at the moment only required
45 by a few packages in this book, the BLFS editors take the view that it
46 should only be updated when that is necessary (either to fix problems,
47 or to allow a new version of <application>firefox</application> to build).
48 </para>
49
50 <para>
51 As with many other programming languages, rustc (the rust compiler)
52 needs a binary from which to bootstrap. It will download a stage0 binary
53 and many cargo crates (these are actually .tar.gz source archives) at
54 the start of the build, so you cannot compile it without an internet
55 connection.
56 </para>
57
58 <para>
59 These crates will then remain in various forms (cache, directories of
60 extracted source), in <filename class="directory">~/.cargo</filename> for
61 ever more. It is common for large <application>rust</application> packages
62 to use multiple versions of some crates. If you purge the files before
63 updating this package, very few crates will need to be updated by the
64 packages in this book which use it (and they will be downloaded as
65 required). But if you retain an older version as a fallback option and
66 then use it (when <emphasis>not</emphasis> building in
67 <filename class="directory">/usr</filename>), it is likely that it will
68 then have to re-download some crates. For a full download (i.e. starting
69 with an empty or missing <filename class="directory">~/.cargo</filename>)
70 downloading the external cargo files for this version only takes a minute
71 or so on a fast network.
72 </para>
73
74 <note>
75 <para>
76 Although BLFS usually installs in <filename
77 class="directory">/usr</filename>, when you later upgrade to a newer
78 version of <application>rust</application> the old libraries in <filename
79 class="directory">/usr/lib/rustlib</filename> will remain, with various
80 hashes in their names, but will not be usable and will waste space. The
81 editors recommend placing the files in the <filename
82 class="directory">/opt</filename> directory. In particular, if you
83 have reason to rebuild with a modified configuration (e.g. using the
84 shipped LLVM after building with shared LLVM, but perhaps also the
85 reverse situation) it it possible for the install to leave a broken
86 <command>cargo</command> program. In such a situation, either remove
87 the existing installation first, or use a different prefix such as
88 /opt/rustc-&rust-version;-build2.
89 </para>
90
91 <para>
92 If you prefer, you can of course change the prefix to <filename
93 class="directory">/usr</filename> and omit the
94 <command>ldconfig</command> and the actions to add rustc to the PATH.
95 </para>
96 </note>
97
98 <para>
99 The current <application>rustbuild</application> build-system will use
100 all available processors, although it does not scale well and often falls
101 back to just using one core while waiting for a library to compile.
102 </para>
103
104 <para>
105 At the moment <application>Rust</application> does not provide any
106 guarantees of a stable ABI.
107 </para>
108
109 <note>
110 <para>
111 Rustc defaults to building for ALL supported architectures, using a
112 shipped copy of LLVM. In BLFS the build is only for the X86
113 architecture. Rustc still claims to require Python 2, but that is only
114 really necessary when building some other architectures with the
115 shipped LLVM.
116 If you intend to develop rust crates, this build may not be good
117 enough for your purposes.
118 </para>
119 <para>
120 The build times of this version when repeated on the same machine are
121 often reasonably consistent, but as with all compilations using
122 <command>rustc</command> there can be some very slow outliers.
123 </para>
124 <para>
125 Unusually, a DESTDIR-style method is being used to install this package.
126 This is because running the install as root not only downloads all of the
127 cargo files again (to <filename>/root/.cargo</filename>), it then spends
128 a very long time recompiling. Using this method saves a lot of time, at
129 the cost of extra disk space.
130 </para>
131 </note>
132
133 &lfs90_checked;
134
135 <bridgehead renderas="sect3">Package Information</bridgehead>
136 <itemizedlist spacing="compact">
137 <listitem>
138 <para>
139 Download (HTTP): <ulink url="&rust-download-http;"/>
140 </para>
141 </listitem>
142 <listitem>
143 <para>
144 Download (FTP): <ulink url="&rust-download-ftp;"/>
145 </para>
146 </listitem>
147 <listitem>
148 <para>
149 Download MD5 sum: &rust-md5sum;
150 </para>
151 </listitem>
152 <listitem>
153 <para>
154 Download size: &rust-size;
155 </para>
156 </listitem>
157 <listitem>
158 <para>
159 Estimated disk space required: &rust-buildsize;
160 </para>
161 </listitem>
162 <listitem>
163 <para>
164 Estimated build time: &rust-time;
165 </para>
166 </listitem>
167 </itemizedlist>
168
169 <bridgehead renderas="sect3">Rust Dependencies</bridgehead>
170
171 <bridgehead renderas="sect4">Required</bridgehead>
172 <para role="required">
173 <xref linkend="curl"/>,
174 <xref linkend="cmake"/>, and
175 <xref linkend="libssh2"/>
176 </para>
177
178 <bridgehead renderas="sect4">Recommended</bridgehead>
179 <para role="recommended">
180 <package>clang</package> from <xref linkend="llvm"/>
181 (built with -DLLVM_LINK_LLVM_DYLIB=ON so that rust can link to
182 system LLVM instead of building its shipped version)
183 </para>
184
185 <bridgehead renderas="sect4">Optional</bridgehead>
186 <para role="optional">
187 <xref linkend="gdb"/> (used by the testsuite if it is present) and
188 <xref linkend="python2"/> (used by the testsuite)
189 </para>
190
191 <para condition="html" role="usernotes">
192 User Notes: <ulink url="&blfs-wiki;/rust"/>
193 </para>
194 </sect2>
195
196 <sect2 role="installation">
197 <title>Installation of Rust</title>
198
199 <para>
200 To install into the
201 <filename class="directory">/opt</filename> directory, remove the symlink
202 and create a new directory (i.e. with a different name if trying a
203 modified build).
204 As the <systemitem class="username">root</systemitem>
205 user:
206 </para>
207
208<screen role="root"><userinput>mkdir /opt/rustc-&rust-version; &amp;&amp;
209ln -svfin rustc-&rust-version; /opt/rustc</userinput></screen>
210
211 <note>
212 <para>
213 If multiple versions of <application>Rust</application> are installed
214 in <filename class="directory">/opt</filename>, changing to another
215 version only requires changing the <filename> /opt/rustc</filename>
216 symbolic link and then running <command>ldconfig</command>.
217 </para>
218 </note>
219
220 <para>
221 Create a suitable <filename>config.toml</filename> file which will
222 configure the build.
223 </para>
224
225<screen><userinput>cat &lt;&lt; EOF &gt; config.toml
226<literal># see config.toml.example for more possible options
227# See the 8.4 book for an example using shipped LLVM
228# e.g. if not installing clang, or using a version before 8.0.
229[llvm]
230# by default, rust will build for a myriad of architectures
231targets = "X86"
232
233# When using system llvm prefer shared libraries
234link-shared = true
235
236[build]
237# omit docs to save time and space (default is to build them)
238docs = false
239
240# install cargo as well as rust
241extended = true
242
243[install]
244prefix = "/opt/rustc-1.35.0"
245docdir = "share/doc/rustc-1.35.0"
246
247[rust]
248channel = "stable"
249rpath = false
250
251# BLFS does not install the FileCheck executable from llvm,
252# so disable codegen tests
253codegen-tests = false
254
255[target.x86_64-unknown-linux-gnu]
256# NB the output of llvm-config (i.e. help options) may be
257# dumped to the screen when config.toml is parsed.
258llvm-config = "/usr/bin/llvm-config"
259
260[target.i686-unknown-linux-gnu]
261# NB the output of llvm-config (i.e. help options) may be
262# dumped to the screen when config.toml is parsed.
263llvm-config = "/usr/bin/llvm-config"
264
265</literal>
266EOF</userinput></screen>
267
268 <para>
269 Now compile <application>Rust</application> by running the following
270 commands:
271 </para>
272
273<screen><userinput>export RUSTFLAGS="$RUSTFLAGS -C link-args=-lffi" &amp;&amp;
274python3 ./x.py build --exclude src/tools/miri</userinput></screen>
275
276 <note>
277 <para>
278 The testsuite will generate some messages in the
279 <phrase revision="sysv">system log</phrase>
280 <phrase revision="systemd">systemd journal</phrase>
281 for traps on invalid opcodes, and for segmentation faults.
282 In themselves these are nothing to worry about, just a way for the
283 test to be terminated.
284 </para>
285 </note>
286
287 <para>
288 To run the tests issue <command>python3 ./x.py test --verbose
289 --no-fail-fast | tee rustc-testlog</command>: as with the build, that
290 will use all available CPUs.
291 </para>
292
293 <para>
294 The instructions above do not build ARM compilers, so the testsuite
295 <emphasis>will</emphasis> fail and the tests will be reported to end in
296 error, with a backtrace of the last failing test. On a good run, 3 tests
297 which need Thumb (ARM) compilers will fail, all in <filename
298 class="directory">ui/issues</filename> for issues 37131, 49851 and 50993.
299 A fourth test,
300 <filename>run-make-fulldeps/sysroot-crates-are-unstable</filename>
301 fails, presumably because we are using only stable features.
302 <!-- appears to be fixed now
303 If gdb has been installed, in some circumstances tests in
304 <filename class="directory">debuginfo</filename> may fail.--> As with all
305 large testsuites, other tests might
306 fail on some machines - if the number of failures is in the single digits,
307 check the log for 'FAILED' and review lines above that, particularly the
308 'stderr:' lines. Any mention of
309 SIGSEGV or signal 11 in a failing test is a cause for concern.
310 A fifth test, run-make-fulldeps/linker-output-non-utf8, is known to fail.
311 </para>
312
313 <para>
314 Therefore, you should determine the number of tests, failures, etc. The
315 total number of tests which were considered is found by running:
316 </para>
317
318<screen remap="test"><userinput>grep 'running .* tests' rustc-testlog | awk '{ sum += $2 } END { print sum }'</userinput></screen>
319
320 <para>
321 That should report 16499 tests. Similarly, the total tests which failed can
322 be found by running:
323 </para>
324
325<screen remap="test"><userinput>grep '^test result:' rustc-testlog | awk '{ sum += $6 } END { print sum }'</userinput></screen>
326
327 <para>
328 And similarly for the tests which passed use $4, for those which were ignored
329 (i.e. skipped) use $8 (and $10 for 'measured', $12 for 'filtered out' but both
330 are probably zero). The breakdown does not quite match the overall total.
331 </para>
332
333 <para>
334 Still as your normal user, do a DESTDIR install:
335 </para>
336
337<screen><userinput>export LIBSSH2_SYS_USE_PKG_CONFIG=1 &amp;&amp;
338DESTDIR=${PWD}/install python3 ./x.py install &amp;&amp;
339unset LIBSSH2_SYS_USE_PKG_CONFIG</userinput></screen>
340
341 <para>
342 Now, as the <systemitem class="username">root</systemitem> user
343 install the files from the DESTDIR:
344 </para>
345
346<screen role="root"><userinput>chown -R root:root install &amp;&amp;
347cp -a install/* /</userinput></screen>
348
349 </sect2>
350
351 <sect2 role="commands">
352 <title>Command Explanations</title>
353
354 <para>
355 <command>ln -svfn rustc-&rust-version; /opt/rustc</command>: if this is
356 not the first use of the <filename class="directory">/opt/rustc</filename>
357 symlink, overwrite it by forcing, and use the '-n' flag to avoid getting
358 confusing results from e.g. <command>ls -l</command>.
359 </para>
360
361 <para>
362 <command>targets = "X86"</command>: this avoids building all the available
363 linux cross-compilers (Aarch64, MIPS, PowerPC, SystemZ, etc). Unfortunately,
364 rust insists on installing source files for these below
365 <filename class="directory">/opt/rustc/lib/src</filename>.
366 </para>
367
368 <para>
369 <command>extended = true</command>: this installs Cargo alongside Rust.
370 </para>
371
372 <para>
373 <command>channel = "stable"</command>: this ensures only stable features
374 can be used, the default in <filename>config.toml</filename> is to use
375 development features, which is not appropriate for a released version.
376 </para>
377
378 <para>
379 <command>rpath = false</command>: by default, <command>rust</command> can
380 be run from where it was built, without being installed. That adds DT_RPATH
381 entries to all of the ELF files, which produces very messy output from
382 <command>ldd</command>, showing the libraries in the place they were built,
383 even if they have been deleted from there after the install.
384 </para>
385
386 <!-- comment while using shipped LLVM
387 <para>
388 <command>[target.x86_64-unknown-linux-gnu]</command>: the syntax of
389 <filename>config.toml</filename> requires an <literal>llvm-config</literal>
390 entry for each target for which system-llvm is to be used. Change the target
391 to <literal>[target.i686-unknown-linux-gnu]</literal> if you are building
392 on 32-bit x86. This whole section may be omitted if you wish to build
393 against the shipped llvm, or do not have clang, but the resulting build will
394 be larger and take longer.
395 </para>-->
396
397 <para>
398 <command>export RUSTFLAGS="$RUSTFLAGS -C link-args=-lffi"</command>:
399 This adds a link to libffi to any RUSTFLAGS you may already be passing
400 to the build. On some systems, linking fails to include libffi unless
401 this is used. The reason why this is needed is not clear.
402 </para>
403
404 <para>
405 <command>--exclude src/tools/miri</command>: For a long time, the miri
406 crate (an interpreter for the Midlevel Intermediate Representation)
407 has failed to build on releases. It is optional, but the failure
408 messages can persuade people that the whole build failed. However,
409 although it is not built in the main compile, with rustc-1.35.0 it
410 now gets compiled during the install, but it is broken in this version.
411 <!-- might be unbroken in 1.36.0, if so remove broken from description
412 of miri below. https://github.com/rust-lang/rust/issues/61830 -->
413 </para>
414
415 <para>
416 <command>--verbose</command>: this switch can sometimes provide more
417 information about a test which fails.
418 </para>
419
420 <para>
421 <command>--no-fail-fast</command>: this switch ensures that the testsuite
422 will not stop at the first error.
423 </para>
424
425 <para>
426 <command>export LIBSSH2_SYS_USE_PKG_CONFIG=1</command>: On some systems,
427 cairo fails to link during the install because it cannot find libssh2.
428 This seems to fix it, but again the reason why the problem occurs is not
429 understood.
430 </para>
431
432 <para>
433 <command>DESTDIR=${PWD}/install python3 ./x.py install</command>: This
434 effects a DESTDIR-style install in the source tree,creating an <filename
435 class="directory">install</filename> directory. Note that DESTDIR installs
436 need an absolute path, passing 'install' will not work.
437 </para>
438
439 <para>
440 <command>chown -R root:root install</command>: the DESTDIR install
441 was run by a regular user, who owns the files. For security, change their
442 owner before doing a simple copy to install them.
443 </para>
444
445 </sect2>
446
447 <sect2 role="configuration">
448 <title>Configuring Rust</title>
449
450 <sect3 id="rustc-config">
451 <title>Configuration Information</title>
452
453 <para>
454 If you installed <application>rustc</application> in
455 <filename class="directory">/opt</filename>, you need to update the
456 following configuration files so that <application>rustc</application> is
457 correctly found by other packages and system processes.
458 </para>
459
460 <para>
461 As the <systemitem class="username">root</systemitem> user, update
462 the <filename>/etc/ld.so.conf</filename> file and the dynamic linker's
463 run-time cache file:
464 </para>
465
466<screen role="root"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; EOF
467<literal># Begin rustc addition
468
469/opt/rustc/lib
470
471# End rustc addition</literal>
472EOF
473
474ldconfig</userinput></screen>
475
476 <indexterm zone="rustc rustc-config">
477 <primary sortas="e-etc-ld.so.conf">/etc/ld.so.conf</primary>
478 </indexterm>
479
480 <para>
481 As the <systemitem class="username">root</systemitem> user, create
482 the <filename>/etc/profile.d/rustc.sh</filename> file:
483 </para>
484
485<screen role="root"><userinput>cat &gt; /etc/profile.d/rustc.sh &lt;&lt; "EOF"
486<literal># Begin /etc/profile.d/rustc.sh
487
488pathprepend /opt/rustc/bin PATH
489
490# End /etc/profile.d/rustc.sh</literal>
491EOF</userinput></screen>
492
493 <para>Immediately after installation, update the current PATH
494 for your current shell as a normal user:</para>
495
496<screen><userinput>source /etc/profile.d/rustc.sh</userinput></screen>
497
498 </sect3>
499 </sect2>
500
501
502 <sect2 role="content">
503 <title>Contents</title>
504
505 <segmentedlist>
506 <segtitle>Installed Programs</segtitle>
507 <segtitle>Installed Libraries</segtitle>
508 <segtitle>Installed Directories</segtitle>
509
510 <seglistitem>
511 <seg>
512 cargo-clippy, cargo-fmt, cargo-miri, cargo, clippy-driver, miri, rls, rust-gdb, rust-lldb, rustc, rustdoc, rustfmt.
513 </seg>
514 <seg>
515 Many lib*&lt;16-byte-hash&gt;.so libraries.
516 </seg>
517 <seg>
518 ~/.cargo,
519 /opt/rustc/lib/rustlib,
520 /opt/rustc/share/doc/rustc-&rust-version;, and
521 /opt/rustc/share/zsh/site-functions
522 </seg>
523 </seglistitem>
524 </segmentedlist>
525
526 <variablelist>
527 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
528 <?dbfo list-presentation="list"?>
529 <?dbhtml list-presentation="table"?>
530
531 <varlistentry id="cargo-clippy">
532 <term><command>cargo-clippy</command></term>
533 <listitem>
534 <para>
535 provides lint checks for a cargo package.
536 </para>
537 <indexterm zone="rust cargo-clippy">
538 <primary sortas="b-cargo-clippy">cargo-clippy</primary>
539 </indexterm>
540 </listitem>
541 </varlistentry>
542
543 <varlistentry id="cargo-fmt">
544 <term><command>cargo-fmt</command></term>
545 <listitem>
546 <para>
547 formats all bin and lib files of the current crate using
548 rustfmt.
549 </para>
550 <indexterm zone="rust cargo-fmt">
551 <primary sortas="b-cargo-fmt">cargo-fmt</primary>
552 </indexterm>
553 </listitem>
554 </varlistentry>
555
556 <varlistentry id="cargo-miri">
557 <term><command>cargo-miri</command></term>
558 <listitem>
559 <para>
560 <!-- FIXME reword to 'is used by' if Miri installed
561 AND works enough to report its \-\-help -->
562 is for use by Miri to interpret bin crates and tests
563 </para>
564 <indexterm zone="rust cargo-miri">
565 <primary sortas="b-cargo-miri">cargo-miri</primary>
566 </indexterm>
567 </listitem>
568 </varlistentry>
569
570 <varlistentry id="cargo">
571 <term><command>cargo</command></term>
572 <listitem>
573 <para>
574 is the Package Manager for Rust.
575 </para>
576 <indexterm zone="rust cargo">
577 <primary sortas="b-cargo">cargo</primary>
578 </indexterm>
579 </listitem>
580 </varlistentry>
581
582 <varlistentry id="clippy-driver">
583 <term><command>clippy-driver</command></term>
584 <listitem>
585 <para>
586 provides lint checks for Rust.
587 </para>
588 <indexterm zone="rust clippy-driver">
589 <primary sortas="b-clippy-driver">clippy-driver</primary>
590 </indexterm>
591 </listitem>
592 </varlistentry>
593
594 <varlistentry id="miri">
595 <term><command>miri</command></term>
596 <listitem>
597 <para>
598 is an interpreter for Rust's mid-level intermediate representation
599 (MIR). It is broken in this version.
600 </para>
601 <indexterm zone="rust miri">
602 <primary sortas="b-miri">miri</primary>
603 </indexterm>
604 </listitem>
605 </varlistentry>
606
607 <varlistentry id="rls">
608 <term><command>rls</command></term>
609 <listitem>
610 <para>
611 is the Rust Language Server. This can run in the background to
612 provide IDEs, editors, and other tools with information about Rust
613 programs.
614 </para>
615 <indexterm zone="rust rls">
616 <primary sortas="b-rls">rls</primary>
617 </indexterm>
618 </listitem>
619 </varlistentry>
620
621 <varlistentry id="rust-gdb">
622 <term><command>rust-gdb</command></term>
623 <listitem>
624 <para>
625 is a wrapper script for gdb, pulling in Python
626 pretty-printing modules installed in <filename
627 class="directory">/usr/lib/rustlib/etc</filename>.
628 </para>
629 <indexterm zone="rust rust-gdb">
630 <primary sortas="b-rust-gdb">rust-gdb</primary>
631 </indexterm>
632 </listitem>
633 </varlistentry>
634
635 <varlistentry id="rust-lldb">
636 <term><command>rust-lldb</command></term>
637 <listitem>
638 <para>
639 is a wrapper script for LLDB (the LLVM debugger)
640 pulling in the Python pretty-printing modules.
641 </para>
642 <indexterm zone="rust rust-lldb">
643 <primary sortas="b-rust-lldb">rust=lldb</primary>
644 </indexterm>
645 </listitem>
646 </varlistentry>
647
648 <varlistentry id="rustc">
649 <term><command>rustc</command></term>
650 <listitem>
651 <para>
652 is the rust compiler.
653 </para>
654 <indexterm zone="rust rustc">
655 <primary sortas="b-rustc">rustc</primary>
656 </indexterm>
657 </listitem>
658 </varlistentry>
659
660 <varlistentry id="rustdoc">
661 <term><command>rustdoc</command></term>
662 <listitem>
663 <para>
664 generates documentation from rust source code.
665 </para>
666 <indexterm zone="rust rustdoc">
667 <primary sortas="b-rustdoc">rustdoc</primary>
668 </indexterm>
669 </listitem>
670 </varlistentry>
671
672 <varlistentry id="rustfmt">
673 <term><command>rustfmt</command></term>
674 <listitem>
675 <para>
676 formats rust code.
677 </para>
678 <indexterm zone="rust rustfmt">
679 <primary sortas="b-rustfmt">rustfmt</primary>
680 </indexterm>
681 </listitem>
682 </varlistentry>
683
684 <varlistentry id="libstd">
685 <term><filename class="libraryfile">libstd-&lt;16-byte-hash&gt;.so</filename></term>
686 <listitem>
687 <para>
688 is the Rust Standard Library, the foundation of portable Rust software.
689 </para>
690 <indexterm zone="rust libstd">
691 <primary sortas="c-libstd">libstd-&lt;16-byte-hash&gt;.so</primary>
692 </indexterm>
693 </listitem>
694 </varlistentry>
695 </variablelist>
696 </sect2>
697</sect1>
Note: See TracBrowser for help on using the repository browser.