mirror of
https://git.proxmox.com/git/rustc
synced 2026-01-16 01:44:57 +00:00
50 lines
1.7 KiB
Plaintext
50 lines
1.7 KiB
Plaintext
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.
|
|
|
|
Import of a new upstream version
|
|
================================
|
|
|
|
$ uscan
|
|
$ gbp import-orig --upstream-branch=upstream/experimental --debian-branch=debian/experimental ../rustc_X.YY.0+dfsg1.orig.tar.xz
|
|
$ dch -v X.YY.0+dfsg1-1
|
|
$ debian/rules update-version
|
|
|
|
|
|
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> Sat, 06 May 2017 13:26:08 +0200
|
|
|