rustc/debian
2016-07-18 22:08:31 +02:00
..
bin Enable optional tests, and add verbosity/backtraces to tests 2016-02-09 21:24:26 +01:00
icons Replace 32x32 logo with local file 2015-07-20 10:26:40 +10:00
missing-sources jquery updated from 2.1.0 to 2.1.4 2015-09-19 19:48:47 +02:00
patches Remove obsolete patch 2016-07-17 23:29:18 +02:00
source Clarify instructions on what to do with any orig-dl tarballs 2016-07-17 22:44:20 +02:00
upstream Update debian/watch file 2015-02-24 10:52:29 +01:00
.gitignore Ignore the generated files 2015-10-30 11:48:33 +01:00
architecture-test.mk Tentatively add support for ARM architectures 2016-07-17 16:58:22 +02:00
architecture.mk Tentatively add support for ARM architectures 2016-07-17 16:58:22 +02:00
build-preview-dsc.sh Update my auto-builder URLs 2016-07-16 21:09:52 +02:00
changelog Tentatively add support for ARM architectures 2016-07-17 16:58:22 +02:00
compat debian: Update to debhelper 9 2015-01-19 10:07:45 -08:00
control src/test/run-make/atomic-lock-free/Makefile requires a multiarch nm 2016-07-18 22:08:31 +02:00
copyright Fix lintian errors, update d/copyright, bump standards-version 2016-07-15 23:34:33 +02:00
docs Numerous minor rust-doc fixups 2015-02-27 09:50:00 +00:00
gbp.conf restore gbp.conf defaults, which is what we're using in practise anyways 2015-10-31 14:50:58 +01:00
libstd-rust-1.10.lintian-overrides Update packaging for 1.10.0 2016-07-07 23:41:03 +02:00
libstd-rust-dev.install Split out library packages for multiarch 2015-05-27 18:02:10 +10:00
libstd-rust-dev.lintian-overrides Split out library packages for multiarch 2015-05-27 18:02:10 +10:00
make_orig-dl_tarball.sh Tentatively add support for ARM architectures 2016-07-17 16:58:22 +02:00
README.Debian Tentatively add support for ARM architectures 2016-07-17 16:58:22 +02:00
README.source Add a source_orig-dl target to help bootstrap new distros 2016-07-16 19:35:15 +02:00
rules Reproducible sort order when generating shlibs file 2016-07-18 18:52:32 +02:00
rust-doc.doc-base.book Numerous minor rust-doc fixups 2015-02-27 09:50:00 +00:00
rust-doc.doc-base.intro Remove EPUB from doc-base files 2015-07-19 22:50:26 +10:00
rust-doc.doc-base.reference Remove EPUB from doc-base files 2015-07-19 22:50:26 +10:00
rust-doc.doc-base.style Numerous minor rust-doc fixups 2015-02-27 09:50:00 +00:00
rust-doc.docs Split out library packages for multiarch 2015-05-27 18:02:10 +10:00
rust-doc.install Replace 32x32 logo with local file 2015-07-20 10:26:40 +10:00
rust-doc.links use rust-doc.links instead of explicit rule 2015-08-31 20:34:14 +02:00
rust-gdb.install Split out library packages for multiarch 2015-05-27 18:02:10 +10:00
rust-gdb.links Link rust-{gdb,lldb}.1 to {gdb,lldb}.1 manpages 2015-07-20 11:16:25 +10:00
rust-lldb.install Split out library packages for multiarch 2015-05-27 18:02:10 +10:00
rust-lldb.links Link rust-{gdb,lldb}.1 to {gdb,lldb}.1 manpages 2015-07-20 11:16:25 +10:00
rustc.install Fix architecture.mk install path 2015-05-27 18:02:10 +10:00
rustc.manpages Rename rust binary package to rustc 2015-02-27 09:50:00 +00:00
TODO.Debian alpha 2 removed emacs, kate & vim plugins 2015-02-23 14:05:08 +01:00
update-version.sh Don't allow rebuilds by newer versions 2016-07-16 01:44:06 +02:00
watch Fix using XZ for the orig tarball: needs explicit --repack in debian/watch 2016-03-17 22:01:09 +01:00

Document by Luca Bruno & Sylvestre Ledru

This source package is unfortunately quite tricky and with
several cutting edges, due to the complexity of rust-lang
bootstrapping system and the high rate of language changes
still ongoing.

We try to describe here inner packaging details and the
reasons behind them.


Embedded libraries
==================

This source package embeds several external libraries (foeked and managed
by rust upstream as git submodules).
In early stages, many more libraries were forked/emebedded but we are steadily
progressing in splitting them out.

Here below the remaining ones, with the technical reasons.

 * jemalloc from https://github.com/rust-lang/jemalloc
   -> system-wide one can't be used due to rust using a "je_" prefix.

   This is intentional upstream design and won't change soon, see:
    - https://github.com/rust-lang/rust/pull/18678
    - http://smallcultfollowing.com/babysteps/blog/2014/11/14/allocators-in-rust/

 * compiler-rt from https://github.com/rust-lang/compiler-rt
   -> system-wide compiler-rt fails during linkage

   Bug reported upstream, still to be fixed, see:
    - https://github.com/rust-lang/rust/issues/15054
    - https://github.com/rust-lang/rust/issues/15708

As a summary, we plan to:
 * keep embedding jemalloc (probably forever)
 * work with upstream to fix compiler-rt linkage soon.

 -- Sylvestre Ledru <sylvestre@debian.org>  Fri, 27 Mar 2015 14:27:12 +0100