From: Fabian Grünbichler Date: Thu, 30 May 2024 09:25:53 +0000 (+0200) Subject: Import rustc_1.74.1+dfsg1-1.debian.tar.xz X-Git-Tag: archive/raspbian/1.74.1+dfsg1-1+rpi1^2~44^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0e593cc1b8c6c5c02a1600b82bdc434116f2ea5c;p=rustc.git Import rustc_1.74.1+dfsg1-1.debian.tar.xz [dgit import tarball rustc 1.74.1+dfsg1-1 rustc_1.74.1+dfsg1-1.debian.tar.xz] --- 0e593cc1b8c6c5c02a1600b82bdc434116f2ea5c diff --git a/NEWS b/NEWS new file mode 100644 index 0000000000..067259d3da --- /dev/null +++ b/NEWS @@ -0,0 +1,29 @@ +rustc (1.20.0+dfsg1-2) unstable; urgency=medium + + Starting from version 1.20.0+dfsg1-1 (i.e. the previous version) the Debian + packages of rustc no longer fail their build if any tests fail. In other + words, some tests might have failed when building this and future versions of + the package. This is due to lack of maintainer time to investigate failures. + + Many previous test failures were reported to upstream and did not receive a + timely response, suggesting the failures were not important. I was then + forced to patch out the test to make the build proceed, so several tests were + being ignored in practise anyway. + + This brings the Debian package in line with the Fedora package which also + ignores all test failures. (Many other distributions don't run tests at all.) + + If you think that the Debian rustc package is miscompiling your program in a + way that the upstream distributed compiler doesn't, you may check the test + failures here: + + https://buildd.debian.org/status/package.php?p=rustc + + If you can identify a relevant test failure as well as the patches needed to + fix it (either to rustc or LLVM), this will speed up the processing of any + bug reports on the Debian side. + + We will also examine these failures ourselves on a best-effort basis and + attempt to fix the more serious-looking ones. + + -- Ximin Luo Mon, 16 Oct 2017 18:02:23 +0200 diff --git a/README.Debian b/README.Debian new file mode 100644 index 0000000000..8ad8f09b7b --- /dev/null +++ b/README.Debian @@ -0,0 +1,345 @@ +Architecture-specific notes +=========================== + +This section talks about the rustc compiler on your host architecture. For +cross-compiling to a foreign target architecture, see the next section. + +armhf armel mips mipsel powerpc powerpcspe +------------------------------------------ + +We only ship debuginfo for libstd and not the compiler itself, otherwise builds +run out of memory on the Debian buildds, with non-obvious and random errors. + +See https://github.com/rust-lang/rust/issues/45854 for details. + +If all your armhf build machines have ~8GB memory or more, you can experiment +with disabling this work-around (i.e. revert to normal) in d/rules. + + +Cross-compiling +=============== + +Rust supports cross-compiling to many different architectures, and we expose +this feature as fully as feasible in Debian, including to wasm and windows. + +Introduction and terminology +---------------------------- + +Rust uses LLVM, so cross-compiling works a bit differently from the GNU +toolchain. The most important difference is that there are no "cross" +compilers, every compiler is already a cross compiler. For cross-compiling, all +you need to do (on the rustc / LLVM side) is to install the standard libraries +for each target architecture you want to compile to, i.e. libstd-rust-dev. + +Before we go further, we must clarify some terminology. The rust ecosystem +generally uses the term "host" for the native architecture running the +compiler, equivalent to DEB_BUILD_RUST_TYPE or "build" in GNU terminology, and +"target" for the foreign architecture that the build products run on, +equivalent to DEB_HOST_RUST_TYPE or "host" in GNU terminology. For example, +rustc --version --verbose will output something like: + + rustc 1.16.0 + [..] + host: x86_64-unknown-linux-gnu + +And both rustc and cargo have --target flags: + + $ rustc --help | grep '\-\-target' + --target TARGET Target triple for which the code is compiled + $ cargo build --help | grep '\-\-target' + --target TRIPLE Build for the target triple + +One major exception to this naming scheme is in CERTAIN PARTS OF the build +scripts of cargo and rustc themselves, such as the `./configure` scripts and +SOME PARTS of the `config.toml` files. Here, "build", "host" and "target" mean +the same things they do in GNU toolchain terminology. However, IN OTHER PARTS +OF the build scripts of cargo and rustc, as well as cargo and rustc's own +output and logging messages, the term "host" and "target" mean as they do in +the previous paragraph. Yes, it's a total mind fuck. :( Table for clarity: + +======================================= =============== ======================== + Rust ecosystem, Some parts of the rustc +GNU term / Debian envvar rustc and cargo and cargo build scripts +======================================= =============== ======================== +build DEB_BUILD_{ARCH,RUST_TYPE} host build + the machine running the build +--------------------------------------- --------------- ------------------------ +host DEB_HOST_{ARCH,RUST_TYPE} target host(s) + the machine the build products run on +--------------------------------------- --------------- ------------------------ +only relevant when building a compiler +target DEB_TARGET_{ARCH,RUST_TYPE} N/A target(s) + the one architecture that the built extra architectures + cross-compiler itself builds for to build "std" for +--------------------------------------- --------------- ------------------------ + +General case for other Debian platforms +--------------------------------------- + +To manually use the Debian rustc binary for cross-compiling: + +0. If you haven't done so previously, run: + + dpkg --add-architecture ${DEB_TARGET_ARCH} + apt-get update + + (This is something that you need to do for all Debian crossbuilding or + multi-architecture installing.) + +1. Install crossbuild-essential-${DEB_TARGET_ARCH} e.g. arm64. + + (This is something that you need to do for all Debian crossbuilding.) + + For certain (HOST, TARGET) pairs you can instead install gcc-multilib, e.g. + when compiling from amd64 to i386. + +2. Install libstd-rust-dev:${DEB_TARGET_ARCH}. + +3. Add the following flags to your rustc invocation: + + -C linker=${DEB_TARGET_GNU_TYPE}-gcc # e.g. aarch64-linux-gnu + --target ${DEB_TARGET_RUST_TYPE} # e.g. aarch64-unknown-linux-gnu + + For certain (HOST, TARGET) pairs, namely the same ones as above that are + supported by gcc-multilib, you can omit the linker flag since the default + ``gcc`` linker (with multilib support) will work. + +You can find the right TARGET vars to use in dpkg-architecture(1) and/or +/usr/share/rustc/architecture.mk and/or possibly on the Debian wiki. + +These steps are different when cross-building a Debian package, or preparing +one for cross-compiling. (1) is performed automatically by cross-building tools +such as sbuild, and (3) is performed automatically by our cargo wrapper script. +The details of how to do (2) correctly are explained in the section below +called "Using rustc in a Debian package". + +Foreign non-Debian platforms +---------------------------- + +Targeting a non-Debian platform is not a common Debian crossbuilding pattern, +so we do something ad-hoc for our Debian rust packages. + +Instead of libstd-rust-dev:$arch (for an $arch that is not in Debian), we +provide a libstd-rust-dev-$platform:$arch package. For example, +libstd-rust-dev-windows:i386. For VM platforms such as WASM, $arch is omitted. + +Instead of implicitly relying on crossbuild-essential-$arch (for an $arch that +is not in Debian), we have the libstd-rust-dev-$platform:$arch package +Recommend the appropriate linker. For example, Clang or MinGW. + +To use these for manual crossbuilding: + +1. Install the appropriate library package, as well as the corresponding linker + package from its Recommends if it isn't pulled in automatically. + +2. Pass in the appropriate ``-C linker`` and ``--target`` flags to ``rustc``. + +WASM +~~~~ + +We ship two different wasm32 targets - wasm32-unknown-unknown and wasm32-wasi - +in the libstd-rust-dev-wasm32 package. + +wasm32-unknown-unknown is suitable for web stuff, where you typically will need +to depending on the rust-wasm-bindgen, js-sys, and web-sys crates. Here, calls +to libstd stuff (such as println!()) will silently do nothing, as defined in +``library/std/src/sys/wasm/mod.rs`` and explained in upstream #48564. + +wasm32-wasi is suitable for non-web stuff, and is closer to a "normal" target +where you expect libstd to be available, and for println!() to actually print +to stdout. If you just want to cross-compile a regular non-wasm library or +program to wasm for whatever reason, and only want to run it natively and not +inside a web browser, use this target. + +To run the generated wasm, you can either: + +1. Use /usr/share/rustc/bin/wasi-node, which depends on nodejs. + + Pending #986616, this will be added to the nodejs package directly. + +2. Compile and use one of the following runtimes: + + - https://github.com/bytecodealliance/wasmtime + - https://github.com/bytecodealliance/lucet + - https://github.com/wasmerio/wasmer + +Windows +~~~~~~~ + +We ship the following targets: + +- x86_64-pc-windows-gnu in the libstd-rust-dev-windows:amd64 package +- i686-pc-windows-gnu in the libstd-rust-dev-windows:i386 package + +To run the compiled binaries, you can use wine. You will need to set one of: + +- WINEPATH="/usr/lib/gcc/x86_64-w64-mingw32/10-posix;/usr/lib/rustlib/x86_64-pc-windows-gnu/lib" +- WINEPATH="/usr/lib/gcc/i686-w64-mingw32/10-posix;/usr/lib/rustlib/i686-pc-windows-gnu/lib" + +If you get "import_dll ... not found" errors, check that these paths are mapped +to some windows drive path - run "winecfg $path" for each path in the component +of WINEPATH; if any begin with "\\?\unix\" then you'll need to map them to a +drive in "winecfg" -> Drives. If all begin with some windows drive letter, then +your error is something unrelated and we sadly can't help you here. + + +Using rustc in a Debian package +=============================== + +You are encouraged to support cross-compiling. See the above section for more +details; in summary you need to install rustc for the host architecture and +libstd-rust-dev for the target architecture, so your debian/control would look +something like this: + + Build-Depends: + [..] + rustc:native (>= $version), + libstd-rust-dev (>= $version), + [..] + +You need both, this is important. When Debian build toolchains satisfy the +build-depends of a cross-build, (1) a "rustc:native" Build-Depends selects +rustc for the native architecture, which is possible because it's "Multi-Arch: +allowed", and this will implicitly pull in libstd-rust-dev also for the native +architecture; and (2) a "libstd-rust-dev" Build-Depends implies libstd-rust-dev +for the foreign architecture, since it's "Multi-Arch: same". + +You'll probably also want to add + + include /usr/share/rustc/architecture.mk + +to your debian/rules. This sets some useful variables like DEB_HOST_RUST_TYPE. +See the cargo package for an example. + +If your build uses cargo, you'll want to add: + + Build-Depends: + [..] + cargo:native, + [..] + +and use our cargo wrapper script instead of /usr/bin/cargo directly. See +/usr/share/cargo/bin/cargo for details on how to use it. + + +Porting to new architectures (on the same distro) +================================================= + +As mentioned above, to cross-compile rust packages you need to install the rust +standard library for each relevant foreign architecture. However, this is not +needed when cross-compiling rustc itself; its build system will build any +relevant foreign-architecture standard libraries automatically. + +Cross-build, in a schroot using sbuild +-------------------------------------- + +0. Set up an schroot for your native architecture, for sbuild: + + sudo apt-get install sbuild + sudo sbuild-adduser $LOGNAME + newgrp sbuild # or log out and log back in + sudo sbuild-createchroot --include=eatmydata,ccache,gnupg unstable \ + /srv/chroot/unstable-$(dpkg-architecture -qDEB_BUILD_ARCH)-sbuild \ + http://deb.debian.org/debian + + See https://wiki.debian.org/sbuild for more details. + +1. Build it: + + sudo apt-get source --download-only rustc + sbuild --host=$new_arch rustc_*.dsc + +Cross-build, directly on your own system +---------------------------------------- + +0. Install the build-dependencies of rustc (including cargo and itself): + + sudo dpkg --add-architecture $new_arch + sudo apt-get --no-install-recommends build-dep --host-architecture=$new_arch rustc + +1. Build it: + + apt-get source --compile --host-architecture=$new_arch rustc + +Native-build using bundled upstream binary blobs +------------------------------------------------ + +Use the same instructions as given in "Bootstrapping" in debian/README.source +in the source package, making sure to set the relevant architectures. + +Responsible distribution of cross-built binaries +------------------------------------------------ + +By nature, cross-builds do not run tests. These are important for rustc and +many tests often fail on newly-supported architectures even if builds and +cross-builds work fine. You should find some appropriate way to test your +cross-built packages rather than blindly shipping them to users. + +For example, Debian experimental is an appropriate place to upload them, so +that they can be installed and tested on Debian porter boxes, before being +uploaded to unstable and distributed to users. + + +Test failures +============= + +Starting from version 1.20.0+dfsg1-1 the Debian packages of rustc no longer +fail the overall build if > 0 tests fail. Instead, we allow up to around 5 +tests to fail. In other words, if you're reading this in a binary package, +between 0 and 5 tests might have failed when building this. + +This is due to lack of maintainer time to investigate all failures. Many +previous test failures were reported to upstream and did not receive a timely +response, suggesting the failures were not important. I was then forced to +patch out the test to make the build proceed, so several tests were being +ignored in practise anyway. + +This brings the Debian package in line with the Fedora package which also +ignores all test failures. (Many other distributions don't run tests at all.) + +If you think that the Debian rustc package is miscompiling your program in a +way that the upstream distributed compiler doesn't, you may check the test +failures here: + +https://buildd.debian.org/status/package.php?p=rustc + +If you can identify a relevant test failure, as well as the patches needed to +fix it (either to rustc or LLVM), this will speed up the processing of any bug +reports on the Debian side. + +We will also examine these failures ourselves on a best-effort basis and +attempt to fix the more serious-looking ones. + +Uncommon architectures +---------------------- + +Debian release architectures armel and s390x currently have more test failures, +being tracked by upstream here: + +- https://github.com/rust-lang/rust/issues/52493 armel +- https://github.com/rust-lang/rust/issues/52491 s390x + +Ports architectures +------------------- + +The number of allowed test failures on certain Debian ports architectures +(currently powerpc, powerpcspe, sparc64, x32) is raised greatly to help unblock +progress for porters. Of course, as a user this means you may run into more +bugs than usual; as mentioned above bugs reports and patches are welcome. + + +Shared libraries +================ + +For now, the shared libraries of Rust are private. +The rational is the following: + * Upstream prefers static linking for now + - https://github.com/rust-lang/rust/issues/10209 + * rust is still under heavy development. As far as we know, there is + no commitement from upstream to provide a stable ABI for now. + Until we know more, we cannot take the chance to have Rust-built packages + failing at each release of the compiler. + * Static builds are working out of the box just fine + * However, LD_LIBRARY_PATH has to be updated when -C prefer-dynamic is used + + -- Sylvestre Ledru , Fri, 13 Feb 2015 15:08:43 +0100 diff --git a/README.source b/README.source new file mode 100644 index 0000000000..36a28b7cc8 --- /dev/null +++ b/README.source @@ -0,0 +1,240 @@ +Document by Ximin Luo, 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. + +If you are looking to help maintain this package, be sure to read the "Notes +for package maintainers" section further below. + + +Embedded libraries +================== + +The upstream source package embeds many external libraries. We make a great +effort to remove them and use system versions where possible, but there are a +few more remaining: + + * vendor/dlmalloc, vendor/windows_*_gnu, vendor/windows_*_msvc + + These are small C libraries designed to be statically linked; their upstream + does not support building them as a shared library and they are too small to + justify their own Debian package. + + +Building from source +==================== + +The Debian rustc package will use the system rustc to bootstrap itself from. +The system rustc has to be either the previous or the same version as the rustc +being built; the build will fail if this is not the case. + + sudo apt-get build-dep ./ + dpkg-buildpackage + # Or, to directly use what's in the Debian FTP archive + sudo apt-get build-dep rustc + apt-get source --compile rustc + +Alternatively, you may give the "pkg.rustc.dlstage0" DEB_BUILD_PROFILE to +instead use the process defined by Rust upstream. This downloads the "official" +stage0 compiler for the version being built from rust-lang.org. At the time of +writing "official" means "the previous stable version". + + sudo apt-get build-dep -P pkg.rustc.dlstage0 ./ + dpkg-buildpackage -P pkg.rustc.dlstage0 + # Or, to directly use what's in the Debian FTP archive + sudo apt-get build-dep -P pkg.rustc.dlstage0 rustc + apt-get source --compile -P pkg.rustc.dlstage0 rustc + +After [1] is fixed, both of these should in theory give identical results. + +If neither of these options are acceptable to you, e.g. because your distro +does not have rustc already and your build process cannot access the network, +see "Bootstrapping" below. + +[1] https://github.com/rust-lang/rust/issues/34902 + + +Bootstrapping +============= + +To bootstrap rustc on a distro that does not have it or cargo available on any +architecture (so cross-compiling is not an option) you can run `debian/rules +source_orig-stage0`. This creates a .dsc that does not Build-Depend on rustc or +cargo. Instead, it includes an extra orig-stage0 source tarball that contains +the official stage0 compiler, pre-downloaded from rust-lang.org so that your +build daemons don't need to access the network during the build. + + debian/rules source_orig-stage0 + # Follow the final manual instructions that it outputs. Then: + sbuild ../rustc_*.dsc && dput ../rustc_*.dsc + +To only bootstrap specific architectures, run this instead: + + upstream_bootstrap_arch="arm64 armhf" debian/rules source_orig-stage0 + +This way, other architectures will be omitted from the orig-stage0 tarball. You +might want to do this e.g. if these other architectures are already present in +your distro, but the $upstream_bootstrap_arch ones are not yet present. + +Notes +----- + +The approach bundles the upstream bootstrapping binaries inside the Debian +source package. This is a nasty hack that stretches the definition of "source +package", but has a few advantages explained below. + +The traditional Debian way of bootstrapping compilers - and other distros have +similar approaches - is some variant of the following: + +1. A developer locally installs some upstream bootstrapping binaries. +2. They locally build a Debian package, using these binaries as undeclared + build dependencies. +3. They upload these binary packages to Debian, which can be used as declared + Build-Depends in the future, including by the same package. + +The problem with this is, Debian does not have any policy nor infrastructure +that can try to reproduce what this developer supposedly did. + +Using bootstrapping binary blobs *at some point of the process* is unavoidable. +Rather than pretending we didn't do this, it is better to record *which blobs* +we used, so it can be audited later. If we bundle non-Debian build-dependencies +inside the source package, then we can do a *source-only upload*, and the +building of the binary packages can be done by the normal build infrastructure. + +If the build process is reproducible [1] then we can be sure that *you* (as the +developer that prepared the source-only upload) didn't backdoor the binaries, +nor did the build daemons even if they were compromised during the build. + +The bootstrapping binaries may still have been backdoored, but this is true in +both scenarios. So our arrangement is still a strict improvement in security, +because it reduces the set of "things that may have been backdoored". Also, +more people use the upstream binaries than the "magical original Debian +package", so backdoors have a greater chance of being detected in the former. + +In the long run, this process is laying the foundations for doing Diverse +Double-Compilation [2], where we use *many independent* bootstrapping binaries +to reproduce bit-for-bit identical output compilers, giving confidence that +nothing was backdoored along the way. + +[1] The build process for rustc is currently *not* reproducible but we're + working towards it. https://github.com/rust-lang/rust/issues/34902 +[2] http://www.dwheeler.com/trusting-trust/ + + +Maintaining this package +======================== + +Import of a new upstream version +-------------------------------- + +$ apt install equivs python3-magic +$ sudo mk-build-deps -irt 'aptitude -R' +$ uscan --verbose # or debian/rules source_orig-beta, for beta +$ ver=UPDATE-ME # whatever it is, probably X.YY.Z or X.YY.Z~beta.N + +$ debian/refresh-early-patches.sh $ver +# This will require an understanding of how git-rebase and git-mergetool works +# We recommend either kdiff3 or p4merge (proprietary) as the git-mergetool. + +$ tar xf ../rustc-${ver/\~/-}-src.tar.xz && ( cd rustc-${ver/*~*/beta}-src/ && pwd && ../debian/prune-unused-deps ) && rm -rf rustc-${ver/*~*/beta}-src/ +$ git diff +# Review the diff. If it removes too much stuff, it could mean that rustc +# pulled in new unnecessary dependencies in this newer version. See if you can +# drop them by amending the patch "d-0000-ignore-removed-submodules.patch". +# Rerun the above "tar ..." commands again and check that your patch works. +# For example, there is absolutely no reason to pull in windows-sys/windows. + +$ git commit -m "Update Files-Excluded for new upstream version ${ver/\~/-}" debian/copyright +$ uscan --verbose # yes, again, to pick up the new Files-Excluded stuff + # or debian/rules source_orig-beta, for beta + +# Keep running this and follow its instructions, until it gives no output: +$ debian/check-orig-suspicious.sh $ver +# When you are satisfied with the above, proceed: + +$ git checkout debian/experimental +$ gbp import-orig ../rustc_$ver+dfsg1.orig.tar.xz +$ dch -v $ver+dfsg1-1~exp1 "New upstream release." +$ debian/rules update-version +# might also need to bump the version of the cargo Build-Depends +# then refresh patches, etc etc +# Use /usr/share/cargo/scripts/guess-crate-copyright to help update d/copyright quickly + +# If you need to repack again, bump the 'repacksuffix' in d/watch then run +$ uscan --verbose --force-download +# This will do a local repack using the new Files-Excluded rules, without +# redownloading the orig tarball (despite the slightly misleading flag). + + +Proceeding after build failure +------------------------------ + +If your build fails, don't run `./x.py` directly as that will detect it's being +run with different settings, and run the build from scratch all over again. +overwriting all intermediate files. Instead, do: + +$ debian/rules run_rustbuild X_CMD="build|test|install" X_FLAGS="whatever" + +Hopefully, this will directly proceed to the step that failed, without +rebuilding everything in between. + + +Comparing Debian rustc vs upstream rustc +---------------------------------------- + +This package does things the Debian way, which differs significantly from +upstream practices. If you find a bug, you might want to check if it is present +in the upstream package. Run "debian/rules debian/config.toml" to generate our +config.toml that you can then use in an upstream directory **unpacked from the +release tarball*. (It is more complex to get this working with their git repo.) + +This will configure it in a "halfway" style between upstream and Debian. +Specifically, it will not build LLVM nor download stuff from crates.io, yet +Debian patches are *not* applied. These specific settings were chosen as a +tradeoff between convenience vs being close to what upstream does - so that the +chances of a bug here being a genuine upstream issue rather than a Debian bug, +is much higher. Also, with the exception of LLVM, these are non-default modes +*supported by* upstream so they would be happy to receive bug reports about it +even if your issue only occurs here. + +OTOH if you need to test a completely clean upstream build, including all the +annoying stuff like building LLVM and downloading dependencies from crates.io, +simply unpack the tarball and run `./configure && ./x.py build` etc as normal. +This can be useful for confirming that an issue is caused by Debian's LLVM. + +If you need to test a LLVM patch, do something like this: + +# build your patched LLVM debs, then: +$ mkdir -p llvm-destdir && cd llvm-destdir +$ ver=4.0; VERSION=FIXME +$ for i in llvm-$ver llvm-$ver-dev llvm-$ver-runtime llvm-$ver-tools libllvm$ver; do \ + dpkg -x ../"$i"_*${VERSION}_*.deb .; done +$ cd ../rustc +$ debian/rules LLVM_DESTDIR=$PWD/../llvm-destdir build + +If you need to test a patch to the stage0 rustc, do something like this: + +# build your patched rustc debs or upstream rustc, then: +$ mkdir -p rust-destdir && cd rust-destdir +$ ver=1.20; VERSION=FIXME; +$ for i in rustc libstd-rust-$ver libstd-rust-dev; do \ + dpkg -x ../"$i"_*${VERSION}_*.deb .; done +$ cd ../rustc +$ debian/rules RUST_DESTDIR=$PWD/../rust-destdir build + + +Useful links +------------ + +The Fedora rust team is more active than the Debian one. Here are their links: + +Source code +https://src.fedoraproject.org/rpms/rust/tree/ + +Binary packages and test logs +https://kojipkgs.fedoraproject.org//packages/rust/ +If the same test fails both on Fedora and Debian it's a good indication that +we're not Doing It Wrong and can file a valid bug upstream. diff --git a/TODO b/TODO new file mode 100644 index 0000000000..ed9f05bc11 --- /dev/null +++ b/TODO @@ -0,0 +1,12 @@ +Older backlog +============= + + * Use Compiler-rt package + * Improve the bootstrap (do the local build first on our systems, upload + to Debian and use the packages) + * Port on other archs + * Create a runtime package (rust-runtime) + * Move the runtime library into a public directory + * Package the various editors plugins (emacs, kate & vim) + + -- Sylvestre Ledru Tue, 20 Jan 2015 08:50:28 +0100 diff --git a/architecture-test.mk b/architecture-test.mk new file mode 100644 index 0000000000..071f63aa20 --- /dev/null +++ b/architecture-test.mk @@ -0,0 +1,16 @@ +# Used for testing architecture.mk, and for make_orig-stage0_tarball.sh. +# Not for end users. +# +# Usage: +# $ make -s --no-print-directory -f debian/architecture-test.mk rust-for-deb_arm64 +# arm64 aarch64-unknown-linux-gnu + +include debian/architecture.mk + +deb_arch_setvars = $(foreach var,ARCH ARCH_OS ARCH_CPU ARCH_BITS ARCH_ENDIAN GNU_CPU GNU_SYSTEM GNU_TYPE MULTIARCH,\ + $(eval DEB_$(1)_$(var) = $(shell dpkg-architecture -f -a$(1) -qDEB_HOST_$(var) 2>/dev/null))) + +rust-for-deb_%: + $(eval $(call deb_arch_setvars,$*)) + $(eval $(call rust_type_setvar,DEB_$*)) + @echo $(DEB_$(*)_ARCH) $(DEB_$(*)_RUST_TYPE) diff --git a/architecture.mk b/architecture.mk new file mode 100644 index 0000000000..bbf81eef05 --- /dev/null +++ b/architecture.mk @@ -0,0 +1,21 @@ +# This Makefile snippet defines DEB_*_RUST_TYPE triples based on DEB_*_GNU_TYPE + +include /usr/share/dpkg/architecture.mk + +rust_cpu = $(subst i586,i686,\ +$(if $(findstring -riscv64-,-$(2)-),$(subst riscv64,riscv64gc,$(1)),\ +$(if $(findstring -armhf-,-$(2)-),$(subst arm,armv7,$(1)),\ +$(if $(findstring -armel-,-$(2)-),$(subst arm,armv5te,$(1)),\ +$(1))))) + +rust_os = $(if $(findstring -hurd-,-$(2)-),$(subst gnu,hurd-gnu,$(1)),$1) + +rust_type_setvar = $(1)_RUST_TYPE ?= $(call rust_cpu,$($(1)_GNU_CPU),$($(1)_ARCH))-unknown-$(call rust_os,$($(1)_GNU_SYSTEM),$($(1)_ARCH_OS)) + +$(foreach machine,BUILD HOST TARGET,\ + $(eval $(call rust_type_setvar,DEB_$(machine)))) + +# fallback for older dpkg versions +ifeq ($(DEB_TARGET_RUST_TYPE),-unknown-) + DEB_TARGET_RUST_TYPE = $(DEB_HOST_RUST_TYPE) +endif diff --git a/bin/cargo b/bin/cargo new file mode 100755 index 0000000000..50772347d0 --- /dev/null +++ b/bin/cargo @@ -0,0 +1,257 @@ +#!/usr/bin/python3 +""" +Wrapper around cargo to have it build using Debian settings. + +Usage: + export PATH=/path/to/dir/of/this/script:$PATH + export CARGO_HOME=debian/cargo_home + cargo prepare-debian /path/to/local/registry [--link-from-system] + cargo build + cargo test + cargo install + cargo clean + [rm -rf /path/to/local/registry] + +The "prepare-debian" subcommand writes a config file to $CARGO_HOME that makes +the subsequent invocations use our Debian flags. The "--link-from-system" flag +is optional; if you use it we will create /path/to/local/registry and symlink +the contents of /usr/share/cargo/registry into it. You are then responsible for +cleaning it up afterwards (a simple `rm -rf` should do). + +See cargo:d/rules and dh-cargo:cargo.pm for more examples. + +Make sure you add "Build-Depends: python3:native" if you use this directly. +If using this only indirectly via dh-cargo, then you only need "Build-Depends: +dh-cargo"; this is a general principle when declaring dependencies. + +If CARGO_HOME doesn't end with debian/cargo_home, then this script does nothing +and passes through directly to cargo. + +Otherwise, you *must* set the following environment variables: + +- DEB_CARGO_CRATE + ${crate}_${version} of whatever you're building. + +- CFLAGS CXXFLAGS CPPFLAGS LDFLAGS [*] +- DEB_HOST_GNU_TYPE DEB_HOST_RUST_TYPE [*] + +- (required only for `cargo install`) DESTDIR + DESTDIR to install build artifacts under. If running via dh-cargo, this will + be set automatically by debhelper, see `dh_auto_install` for details. + +- (optional) DEB_BUILD_OPTIONS DEB_BUILD_PROFILES + +- (optional) DEB_CARGO_INSTALL_PREFIX + Prefix to install build artifacts under. Default: /usr. Sometimes you might + want to change this to /usr/lib/cargo if the binary clashes with something + else, and then symlink it into /usr/bin under an alternative name. + +- (optional) DEB_CARGO_CRATE_IN_REGISTRY + Whether the crate is in the local-registry (1) or cwd (0, empty, default). + +For the envvars marked [*], it is easiest to set these in your d/rules via: + + include /usr/share/dpkg/architecture.mk + include /usr/share/dpkg/buildflags.mk + include /usr/share/rustc/architecture.mk + export CFLAGS CXXFLAGS CPPFLAGS LDFLAGS + export DEB_HOST_RUST_TYPE DEB_HOST_GNU_TYPE +""" + +import os +import os.path +import shutil +import subprocess +import sys + +FLAGS = "CFLAGS CXXFLAGS CPPFLAGS LDFLAGS" +ARCHES = "DEB_HOST_GNU_TYPE DEB_HOST_RUST_TYPE" +SYSTEM_REGISTRY = "/usr/share/cargo/registry" + +def log(*args): + print("debian cargo wrapper:", *args, file=sys.stderr, flush=True) + +def logrun(*args, **kwargs): + log("running subprocess", args, kwargs) + return subprocess.run(*args, **kwargs) + +def sourcepath(p=None): + return os.path.join(os.getcwd(), p) if p else os.getcwd() + +def prepare_debian(cargo_home, registry, cratespec, host_gnu_type, ldflags, link_from_system, extra_rustflags): + registry_path = sourcepath(registry) + if link_from_system: + log("linking %s/* into %s/" % (SYSTEM_REGISTRY, registry_path)) + os.makedirs(registry_path, exist_ok=True) + crates = os.listdir(SYSTEM_REGISTRY) if os.path.isdir(SYSTEM_REGISTRY) else [] + for c in crates: + target = os.path.join(registry_path, c) + if not os.path.islink(target): + os.symlink(os.path.join(SYSTEM_REGISTRY, c), target) + elif not os.path.exists(registry_path): + raise ValueError("non-existent registry: %s" % registry) + + rustflags = "-C debuginfo=2 --cap-lints warn".split() + rustflags.extend(["-C", "linker=%s-gcc" % host_gnu_type]) + for f in ldflags: + rustflags.extend(["-C", "link-arg=%s" % f]) + if link_from_system: + rustflags.extend([ + # Note that this order is important! Rust evaluates these options in + # priority of reverse order, so if the second option were in front, + # it would never be used, because any paths in registry_path are + # also in sourcepath(). + "--remap-path-prefix", "%s=%s/%s" % + (sourcepath(), SYSTEM_REGISTRY, cratespec.replace("_", "-")), + "--remap-path-prefix", "%s=%s" % (registry_path, SYSTEM_REGISTRY), + ]) + rustflags.extend(extra_rustflags.split()) + + # TODO: we cannot enable this until dh_shlibdeps works correctly; atm we get: + # dpkg-shlibdeps: warning: can't extract name and version from library name 'libstd-XXXXXXXX.so' + # and the resulting cargo.deb does not depend on the correct version of libstd-rust-1.XX + # We probably need to add override_dh_makeshlibs to d/rules of rustc + #rustflags.extend(["-C", "prefer-dynamic"]) + + os.makedirs(cargo_home, exist_ok=True) + with open("%s/config" % cargo_home, "w") as fp: + fp.write("""[source.crates-io] +replace-with = "dh-cargo-registry" + +[source.dh-cargo-registry] +directory = "{0}" + +[build] +rustflags = {1} +""".format(registry_path, repr(rustflags))) + + return 0 + +def install(destdir, cratespec, host_rust_type, crate_in_registry, install_prefix, *args): + crate, version = cratespec.rsplit("_", 1) + log("installing into destdir '%s' prefix '%s'" % (destdir, install_prefix)) + install_target = destdir + install_prefix + logrun(["env", "RUST_BACKTRACE=1", + # set CARGO_TARGET_DIR so build products are saved in target/ + # normally `cargo install` deletes them when it exits + "CARGO_TARGET_DIR=" + sourcepath("target"), + "/usr/bin/cargo"] + list(args) + + ([crate, "--vers", version] if crate_in_registry else ["--path", sourcepath()]) + + ["--root", install_target], check=True) + logrun(["rm", "-f", "%s/.crates.toml" % install_target]) + logrun(["rm", "-f", "%s/.crates2.json" % install_target]) + + # if there was a custom build output, symlink it to debian/cargo_out_dir + # hopefully cargo will provide a better solution in future https://github.com/rust-lang/cargo/issues/5457 + r = logrun('''ls -td "target/%s/release/build/%s"-*/out 2>/dev/null | head -n1''' + % (host_rust_type, crate), shell=True, stdout=subprocess.PIPE).stdout + r = r.decode("utf-8").rstrip() + if r: + logrun(["ln", "-sfT", "../%s" % r, "debian/cargo_out_dir"], check=True) + return 0 + +def main(*args): + cargo_home = os.getenv("CARGO_HOME", "") + if not cargo_home.endswith("/debian/cargo_home"): + os.execv("/usr/bin/cargo", ["cargo"] + list(args)) + + if any(f not in os.environ for f in FLAGS.split()): + raise ValueError("not all of %s set; did you call dpkg-buildflags?" % FLAGS) + + if any(f not in os.environ for f in ARCHES.split()): + raise ValueError("not all of %s set; did you include architecture.mk?" % ARCHES) + + build_options = os.getenv("DEB_BUILD_OPTIONS", "").split() + build_profiles = os.getenv("DEB_BUILD_PROFILES", "").split() + + parallel = [] + lto = 0 + for o in build_options: + if o.startswith("parallel="): + parallel = ["-j" + o[9:]] + elif o.startswith("optimize="): + opt_arg = o[9:] + for arg in opt_arg.split(","): + if opt_arg == "-lto": + lto = -1 + elif opt_arg == "+lto": + lto = 1 + else: + log(f"WARNING: unhandled optimization flag: {opt_arg}") + + nodoc = "nodoc" in build_options or "nodoc" in build_profiles + nocheck = "nocheck" in build_options or "nocheck" in build_profiles + + # note this is actually the "build target" type, see rustc's README.Debian + # for full details of the messed-up terminology here + host_rust_type = os.getenv("DEB_HOST_RUST_TYPE", "") + host_gnu_type = os.getenv("DEB_HOST_GNU_TYPE", "") + + log("options, profiles, parallel, lto:", build_options, build_profiles, parallel, lto) + log("rust_type, gnu_type:", ", ".join([host_rust_type, host_gnu_type])) + + if "RUSTFLAGS" in os.environ: + # see https://github.com/rust-lang/cargo/issues/6338 for explanation on why we must do this + log("unsetting RUSTFLAGS and assuming it will be (or already was) added to $CARGO_HOME/config") + extra_rustflags = os.environ["RUSTFLAGS"] + del os.environ["RUSTFLAGS"] + else: + extra_rustflags = "" + + if args[0] == "prepare-debian": + registry = args[1] + link_from_system = False + if len(args) > 2 and args[2] == "--link-from-system": + link_from_system = True + return prepare_debian(cargo_home, registry, + os.environ["DEB_CARGO_CRATE"], host_gnu_type, + os.getenv("LDFLAGS", "").split(), link_from_system, extra_rustflags) + + newargs = [] + subcmd = None + for a in args: + if (subcmd is None) and (a in ("build", "rustc", "doc", "test", "bench", "install")): + subcmd = a + newargs.extend(["-Zavoid-dev-deps", a, "--verbose", "--verbose"] + + parallel + ["--target", host_rust_type]) + elif (subcmd is None) and (a == "clean"): + subcmd = a + newargs.extend([a, "--verbose", "--verbose"]) + else: + newargs.append(a) + + if subcmd is not None and "--verbose" in newargs and "--quiet" in newargs: + newargs.remove("--quiet") + + if nodoc and subcmd == "doc": + return 0 + if nocheck and subcmd in ("test", "bench"): + return 0 + + if lto == 1: + newargs.append("--config profile.release.lto = \"thin\"") + elif lto == -1: + newargs.append("--config profile.release.lto = false") + + if subcmd == "clean": + logrun(["env", "RUST_BACKTRACE=1", "/usr/bin/cargo"] + list(newargs), check=True) + if os.path.exists(cargo_home): + shutil.rmtree(cargo_home) + return 0 + + cargo_config = "%s/config" % cargo_home + if not os.path.exists(cargo_config): + raise ValueError("does not exist: %s, did you run `cargo prepare-debian `?" % cargo_config) + + if subcmd == "install": + return install(os.getenv("DESTDIR", ""), + os.environ["DEB_CARGO_CRATE"], + host_rust_type, + os.getenv("DEB_CARGO_CRATE_IN_REGISTRY", "") == "1", + os.getenv("DEB_CARGO_INSTALL_PREFIX", "/usr"), + *newargs) + else: + return logrun(["env", "RUST_BACKTRACE=1", "/usr/bin/cargo"] + list(newargs)).returncode + +if __name__ == "__main__": + sys.exit(main(*sys.argv[1:])) diff --git a/bin/rust-lld b/bin/rust-lld new file mode 100755 index 0000000000..9d5fdd03dc --- /dev/null +++ b/bin/rust-lld @@ -0,0 +1,9 @@ +#!/bin/bash +# Wrapper around lld that strips away -Wl, which it doesn't recognise. +# We need this for the wasm32 tests, where we have generic RUSTFLAGS that +# includes LDFLAGS from dpkg-buildflags which assumes a GCC linker. +# +# However the tests fail for other reasons, namely we can't build rustdoc +# (which runs the tests) in wasm32 yet. So this is just WIP at the moment, +# it is not expect to work nor to be installed on user machines. +exec /usr/bin/lld-17 "${@/#-Wl,/}" diff --git a/cargo-doc.docs b/cargo-doc.docs new file mode 100644 index 0000000000..1d0004d699 --- /dev/null +++ b/cargo-doc.docs @@ -0,0 +1,2 @@ +usr/share/doc/cargo/reference +usr/share/doc/cargo/book diff --git a/cargo.bash-completion b/cargo.bash-completion new file mode 100644 index 0000000000..e3d4b28571 --- /dev/null +++ b/cargo.bash-completion @@ -0,0 +1 @@ +etc/bash_completion.d/cargo cargo diff --git a/cargo.install b/cargo.install new file mode 100644 index 0000000000..4895cfba0e --- /dev/null +++ b/cargo.install @@ -0,0 +1,4 @@ +usr/bin/cargo +debian/scripts/* usr/share/cargo/scripts +debian/bin/cargo usr/share/cargo/bin +usr/share/zsh/site-functions/_cargo usr/share/zsh/vendor-completions diff --git a/cargo.manpages b/cargo.manpages new file mode 100644 index 0000000000..585a8af0fe --- /dev/null +++ b/cargo.manpages @@ -0,0 +1,2 @@ +usr/share/man/man1/cargo-*.1 +usr/share/man/man1/cargo.1 diff --git a/changelog b/changelog new file mode 100644 index 0000000000..d54e5dae47 --- /dev/null +++ b/changelog @@ -0,0 +1,2134 @@ +rustc (1.74.1+dfsg1-1) unstable; urgency=medium + + * dwz: bump limit to avoid s390x build failures + + -- Fabian Grünbichler Thu, 30 May 2024 11:25:53 +0200 + +rustc (1.74.1+dfsg1-1~exp1) experimental; urgency=medium + + [ Fabian Grünbichler ] + * New upstream release + + [ Samuel Thibault ] + * architecture.mk: Adapt to llvm/rust's hurd naming + * rules: Disable profiling on Hurd ports, llvm does not provide it yet + * rules: Set the number of expected failures on Hurd ports + + -- Fabian Grünbichler Wed, 29 May 2024 11:24:48 +0200 + +rustc (1.73.0+dfsg1-1) unstable; urgency=medium + + * libstd-rust-1.73: fix ldconfig trigger + + -- Fabian Grünbichler Tue, 28 May 2024 17:06:58 +0200 + +rustc (1.73.0+dfsg1-1~exp1) experimental; urgency=medium + + * new upstream release + * switch to LLVM 17 + * update wasi-libc to ~git20230821.ec4566b + * cargo: remove cargo-credential-1password helper binary + + -- Fabian Grünbichler Mon, 27 May 2024 22:20:44 +0200 + +rustc (1.72.1+dfsg1-1) unstable; urgency=medium + + * upload to unstable + + -- Fabian Grünbichler Mon, 27 May 2024 13:28:20 +0200 + +rustc (1.72.1+dfsg1-1~exp2) experimental; urgency=medium + + * patches: apply rustix fixup to all versions + + -- Fabian Grünbichler Mon, 27 May 2024 10:20:22 +0200 + +rustc (1.72.1+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release + * Update wasi-libc to ~git20230621.7018e24 + * Allow more test failures on loong64, and less on riscv64 (Closes: 1071707) + + -- Fabian Grünbichler Thu, 23 May 2024 21:16:03 +0200 + +rustc (1.71.1+dfsg1-2) unstable; urgency=medium + + * d/control: fix package names in B+R (Closes: #1071242) + + -- Fabian Grünbichler Fri, 17 May 2024 08:38:11 +0200 + +rustc (1.71.1+dfsg1-1) unstable; urgency=medium + + * upload to unstable + + -- Fabian Grünbichler Thu, 16 May 2024 21:46:58 +0200 + +rustc (1.71.1+dfsg1-1~exp2) experimental; urgency=medium + + * d/control: properly B+R old rustc packages (Closes: #1071005) + + -- Fabian Grünbichler Wed, 15 May 2024 07:21:42 +0200 + +rustc (1.71.1+dfsg1-1~exp1) experimental; urgency=medium + + [ Fabian Grünbichler ] + * New upstream release (Closes: #1069019) + * d/control: tighten cargo versions (Closes: #1029007) + * d/control: remove B-D on cmake-3 (Closes: #1067109) + * d/control: re-enable git-using tests + * rust-doc: fix references to cargo-doc (Closes: #969210, #1063390) + * rust-src: ship Cargo.lock (Closes: #1057736) + * d/control: add libssl and prefer curl with openssl (Closes: #962508) + * d/control: move LLVM symlinks to own package (Closes: #1021868) + + [ Rob Shearman ] + * Support finding llvm-profdata & llvm-cov with cargo-binutils + + -- Fabian Grünbichler Wed, 08 May 2024 18:48:48 +0200 + +rustc (1.70.0+dfsg2-1) unstable; urgency=medium + + * upload to unstable + + -- Fabian Grünbichler Sat, 04 May 2024 13:38:10 +0200 + +rustc (1.70.0+dfsg2-1~exp3) experimental; urgency=medium + + * d/rules: fix last package cache removal + + -- Fabian Grünbichler Fri, 03 May 2024 17:02:14 +0200 + +rustc (1.70.0+dfsg2-1~exp2) experimental; urgency=medium + + * d/rules: allow removal of package cache to fail + * autopkgtest: disable full build test + + -- Fabian Grünbichler Fri, 03 May 2024 15:10:49 +0200 + +rustc (1.70.0+dfsg2-1~exp1) experimental; urgency=medium + + [ liushuyu ] + * d/*: initial merge of cargo into rustc source package (Closes: #1054658) + + [ Fabian Grünbichler ] + * update libgit2 + * cargo: sync test disabling changes + * adapt to current rustc/cargo version + * cargo: actually install, not just build + * add extra component tarball + * scripts/guess-crate-copyright: switch to python3-toml + * d/check-orig-suspicious.sh: remove duplicate comment stripping + * d/check-orig-suspicious.sh: support extra tar ball + * fix autopkgtest control file + * update d/copyright + * extend lintian overrides + + -- Fabian Grünbichler Fri, 03 May 2024 09:27:25 +0200 + +rustc (1.70.0+dfsg1-9) unstable; urgency=medium + + * temporarily skip git(-cli) tests + + -- Fabian Grünbichler Mon, 25 Mar 2024 17:47:08 +0100 + +rustc (1.70.0+dfsg1-8.1) unstable; urgency=medium + + * Non-maintainer upload + * Binary upload to rebootstrap on armel + + -- Emanuele Rocca Thu, 21 Mar 2024 10:52:23 +0000 + +rustc (1.70.0+dfsg1-8) unstable; urgency=medium + + * d/control: switch to libllvm16t64 + * d/control: switch to pkgconf + * d/rules: fix make warning in filter invocation + + -- Fabian Grünbichler Fri, 15 Mar 2024 17:18:37 +0100 + +rustc (1.70.0+dfsg1-7) unstable; urgency=medium + + * profiler: disable on mips64el for now, it's buggy + + -- Fabian Grünbichler Thu, 15 Feb 2024 06:52:19 +0100 + +rustc (1.70.0+dfsg1-6) unstable; urgency=medium + + [ Fabian Grünbichler ] + * fix bootstrap helpers (Closes: #1060808) + * rustix: patch both versions to fix racy build + + [ Andres Salomon ] + * Fix source_orig-stage0 bootstrapping process to actually include all + architectures (closes: #1021711). + * Run 'd/rules clean' after running make_orig-stage0_tarball.sh so that the + suggestion to rebuild the .dsc actually works. + * Don't allow upstream's bootstrap.py to delete .cargo/ directory. + + [ Fabian Grünbichler ] + * stage0: use current release architectures as default + * disable LLVM profiler support on sparc64 (Closes: #1061125) + + -- Fabian Grünbichler Sun, 11 Feb 2024 20:59:19 +0100 + +rustc (1.70.0+dfsg1-5) unstable; urgency=medium + + * adapt LLVM_PROFILER_RT_LIB path + + -- Fabian Grünbichler Mon, 15 Jan 2024 08:16:35 +0100 + +rustc (1.70.0+dfsg1-4) unstable; urgency=medium + + * fix libclang-rt-16-dev Build-dep + + -- Fabian Grünbichler Mon, 15 Jan 2024 07:00:08 +0100 + +rustc (1.70.0+dfsg1-3) unstable; urgency=medium + + [ Andres Salomon ] + * Enable profiler builtin and backport u-profiler.patch (closes: #1043311). + * Build-dep on libclang-rt-16-dev. + + -- Fabian Grünbichler Sun, 14 Jan 2024 20:06:29 +0100 + +rustc (1.70.0+dfsg1-2) unstable; urgency=medium + + * Upload to unstable + + -- Fabian Grünbichler Sat, 30 Dec 2023 14:52:00 +0100 + +rustc (1.70.0+dfsg1-2~exp1) experimental; urgency=medium + + * riscv: disable split debuginfo support + + -- Fabian Grünbichler Sat, 02 Dec 2023 11:19:31 +0100 + +rustc (1.70.0+dfsg1-1) unstable; urgency=medium + + * Upload to unstable + + -- Fabian Grünbichler Wed, 20 Sep 2023 20:18:40 +0200 + +rustc (1.70.0+dfsg1-1~exp3) experimental; urgency=medium + + * more test fixes + + -- Fabian Grünbichler Fri, 15 Sep 2023 15:07:01 +0200 + +rustc (1.70.0+dfsg1-1~exp2) experimental; urgency=medium + + * don't remove replace-version-placeholder from workspace + * disable download tests + * fix x86 tests checking for SSE2 + + -- Fabian Grünbichler Fri, 15 Sep 2023 10:10:52 +0200 + +rustc (1.70.0+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release + * switch to LLVM 16 + * properly drop more components + * rust-src: fix path of installed example config + * fix lintian overrides + * update d/copyright + + -- Fabian Grünbichler Thu, 14 Sep 2023 09:07:26 +0200 + +rustc (1.69.0+dfsg1-1) unstable; urgency=medium + + * Upload to unstable + + -- Fabian Grünbichler Wed, 13 Sep 2023 13:57:58 +0200 + +rustc (1.69.0+dfsg1-1~exp2) experimental; urgency=medium + + * config: also enable rustdoc explicitly + * bump wasi-libc to revert stack protection (Closes: #1051815) + + -- Fabian Grünbichler Wed, 13 Sep 2023 08:02:53 +0200 + +rustc (1.69.0+dfsg1-1~exp1) experimental; urgency=medium + + [ Eric Long ] + * New upstream release + * Manually include `rust-analyzer-proc-macro-srv` (again) + + [ Fabian Grünbichler ] + * add libc with "extra_traits" to feature sync patch + * update d/copyright + * update lintian overrides + + -- Fabian Grünbichler Tue, 12 Sep 2023 10:17:15 +0200 + +rustc (1.68.2+dfsg1-1) unstable; urgency=medium + + * Upload to unstable + + -- Fabian Grünbichler Sun, 10 Sep 2023 19:22:53 +0200 + +rustc (1.68.2+dfsg1-1~exp1) experimental; urgency=medium + + [ Eric Long ] + * New upstream version 1.68.2+dfsg1 + * Update patches to adapt to upstream test path change + + [ Fabian Grünbichler ] + * Update wasi-libc to 4362b18 + * Update doc path to fix linkcheck + * Update d/copyright + * Update lintian overrides + * Update privacy breach removal (github badge) + * Bump Standards-Version to 4.6.2 + + [Helmut Grohne] + * Fix FTCBFS: Do not pass host CFLAGS to the build compiler + (Closes: #1050975) + + -- Fabian Grünbichler Wed, 02 Aug 2023 13:17:47 +0200 + +rustc (1.67.1+dfsg1-1) unstable; urgency=medium + + * Upload to unstable + + -- Fabian Grünbichler Sun, 03 Sep 2023 19:58:53 +0200 + +rustc (1.67.1+dfsg1-1~exp1) experimental; urgency=medium + + [ Fabian Grünbichler ] + * update/rebase/drop patches (based on work by Blair Noctis) + * d/copyright: add missing statements + * add missing lintian overrides for test cases + + [ Blair Noctis ] + * New upstream release + * Cherry-pick sysroot detection fix + * Update d/copyright for some vendored + + -- Fabian Grünbichler Fri, 07 Jul 2023 10:01:33 +0200 + +rustc (1.66.0+dfsg1-1) unstable; urgency=medium + + * Upload to unstable + + -- Fabian Grünbichler Tue, 27 Jun 2023 17:12:20 +0200 + +rustc (1.66.0+dfsg1-1~exp1) experimental; urgency=medium + + [ Blair Noctis ] + * New upstream version 1.66.0+dfsg1 + * Drop outdated patches + * Work around incorrect config handling (picking up initial rustc) when + running tests + + -- Fabian Grünbichler Sun, 23 Apr 2023 20:45:41 +0200 + +rustc (1.65.0+dfsg1-2) unstable; urgency=medium + + * Team upload + * Source-only upload + + -- Jeremy Bícha Mon, 26 Jun 2023 17:16:27 -0400 + +rustc (1.65.0+dfsg1-1) unstable; urgency=medium + + * Upload to unstable + + -- Fabian Grünbichler Tue, 20 Jun 2023 20:16:50 +0200 + +rustc (1.65.0+dfsg1-1~exp3) experimental; urgency=medium + + * d/rules: fix typo in mipsel workaround + + -- Fabian Grünbichler Sun, 12 Mar 2023 08:54:15 +0100 + +rustc (1.65.0+dfsg1-1~exp2) experimental; urgency=medium + + [ Fabian Grünbichler ] + * d/control: add myself to Uploaders + * cherry-pick fix for failing backtrace test + * bump mipsel test failure allowance to work around broken gdb 13.1 + * drop duplicate lintian override + + -- Fabian Grünbichler Sat, 11 Mar 2023 18:50:19 +0100 + +rustc (1.65.0+dfsg1-1~exp1) experimental; urgency=medium + + [ Fabian Grünbichler ] + * New upstream version 1.65.0+dfsg1 + * switch to LLVM-15 + * cherry-pick fix for compiletest with rpath=false + * add overrides for rust-analyzer test data + + -- Fabian Gruenbichler Wed, 15 Feb 2023 20:12:05 +0100 + +rustc (1.64.0+dfsg1-1) unstable; urgency=medium + + * Upload to unstable + * Add myself to Uploaders + + -- Fabian Grünbichler Mon, 12 Jun 2023 18:36:56 +0200 + +rustc (1.64.0+dfsg1-1~exp4) experimental; urgency=medium + + [ John Paul Adrian Glaubitz ] + * fix sparc64 rustix build (Closes: #1030053) + + -- Fabian Gruenbichler Tue, 31 Jan 2023 19:55:48 +0100 + +rustc (1.64.0+dfsg1-1~exp3) experimental; urgency=medium + + [ Simon Chopin ] + * cherry-pick riscv64 fix from ubuntu + + -- Fabian Gruenbichler Fri, 20 Jan 2023 20:48:11 +0100 + +rustc (1.64.0+dfsg1-1~exp2) experimental; urgency=medium + + [ Fabian Grünbichler ] + * d/prune-unused-deps: unify cargo update calls + * fix rustix on arches requiring outline building + * fix libstd-rust-dev-windows lintian override + * fix compiler_builtins linkage on arm(el) + * add compiler_builtins sync fallbacks for arm(el) + * fix panicking lldb check on armel + + -- Fabian Gruenbichler Wed, 11 Jan 2023 17:22:16 +0100 + +rustc (1.64.0+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release + * d/rules: auto_clean: preserve .cargo/config.toml + * d/rules: also clear bootstrap/rust-analyzer Cargo.lock + * d/rules: extend privacy-breach removal + * ship rust-analyzer-proc-macro-srv binary + + -- Fabian Gruenbichler Thu, 08 Dec 2022 09:17:59 +0100 + +rustc (1.63.0+dfsg1-1) unstable; urgency=medium + + * Upload to unstable (Closes: #1018859) + + [ Pietro Albini ] + * clarify the licensing of the mpsc implementation + + -- Fabian Gruenbichler Wed, 07 Dec 2022 17:29:00 +0100 + +rustc (1.63.0+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release + + -- Fabian Gruenbichler Tue, 15 Nov 2022 19:47:53 +0100 + +rustc (1.62.1+dfsg1-1) unstable; urgency=medium + + * Upload to unstable + * Fix armhf build + + -- Fabian Gruenbichler Mon, 31 Oct 2022 14:19:34 +0100 + +rustc (1.62.1+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release + + -- Fabian Gruenbichler Fri, 28 Oct 2022 11:35:48 +0200 + +rustc (1.61.0+dfsg1-2) unstable; urgency=medium + + [ Ximin Luo] + * Improve cross-building documentation + + [ Adrian Bunk ] + * Disable kernel_user_helpers on armel (duplicate symbols) + * Increase allowed failures on armel/mips64el/ppc64 (Closes: #1020860) + + [ Fabian Grünbichler ] + * cherry-pick patches from Ubuntu + * fix rebuild of 1.61 with 1.61 + + -- Fabian Gruenbichler Mon, 10 Oct 2022 20:19:05 +0200 + +rustc (1.61.0+dfsg1-1) unstable; urgency=medium + + * Upload to unstable (Closes: #1020394) + + -- Sylvestre Ledru Thu, 22 Sep 2022 09:00:21 +0200 + +rustc (1.61.0+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release + + * Switch to LLVM-14 (Closes: #1017656) + + -- Fabian Gruenbichler Wed, 07 Sep 2022 17:33:04 +0200 + +rustc (1.60.0+dfsg1-1) unstable; urgency=medium + + * Ignore more test failures on mips64el for lack of inline assembly support. + + * Add i386 and x32 to list of "low-memory" architectures requiring build + workarounds. + + -- Fabian Gruenbichler Mon, 5 Sep 2022 10:03:18 +0200 + +rustc (1.60.0+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + + -- Fabian Gruenbichler Thu, 14 Jul 2022 13:08:16 +0200 + +rustc (1.59.0+dfsg1-2) unstable; urgency=medium + + * Backport a patch for riscv64. + * Ignore some test failures on armhf due to regression in GDB 11.2. + + -- Ximin Luo Tue, 21 Jun 2022 11:06:16 +0100 + +rustc (1.59.0+dfsg1-1) unstable; urgency=medium + + * Upload to unstable. + + -- Ximin Luo Wed, 11 May 2022 14:11:46 +0100 + +rustc (1.59.0+dfsg1-1~exp1) experimental; urgency=medium + + [ Fabian Grünbichler ] + * New upstream release + + -- Ximin Luo Tue, 29 Mar 2022 14:32:01 +0100 + +rustc (1.58.1+dfsg1-1) unstable; urgency=medium + + * Upload to unstable. + + -- Ximin Luo Tue, 29 Mar 2022 12:23:46 +0100 + +rustc (1.58.1+dfsg1-1~exp1) experimental; urgency=medium + + [ Fabian Gruenbichler ] + * New upstream release. + + -- Ximin Luo Tue, 08 Mar 2022 11:32:29 +0000 + +rustc (1.57.0+dfsg1-1) unstable; urgency=medium + + * Upload to unstable. (Closes: #1005203) + + -- Ximin Luo Tue, 08 Mar 2022 10:51:18 +0000 + +rustc (1.57.0+dfsg1-1~exp1) experimental; urgency=medium + + [ Simon Chopin ] + * d/p/d-bootstrap-rustflags.patch: remove the warnings bit, use the option + "deny-warnings = false" in d/config.toml.in instead + + [ Fabian Grünbichler ] + * Fix CVE-2022-21658 - std::fs::remove_dir_all TOCTOU symlink issue + * New upstream release. (Closes: #1005203) + + -- Fabian Grünbichler Thu, 03 Feb 2022 19:14:04 +0100 + +rustc (1.56.0+dfsg1-2) unstable; urgency=medium + + * Update to debhelper 13. + + -- Ximin Luo Fri, 22 Oct 2021 23:29:14 +0100 + +rustc (1.56.0+dfsg1-1) unstable; urgency=medium + + * New upstream release. + * Support terse and verbose DEB_BUILD_OPTIONS. + * Support -Z gcc-ld=lld via symlinks. + * Fix RUSTC_SYSROOT in rust-gdb and rust-lldb, thanks James McCoy. + + -- Ximin Luo Fri, 22 Oct 2021 18:54:49 +0100 + +rustc (1.56.0~beta.4+dfsg1-1~exp2) experimental; urgency=medium + + * Include upstream patch for x32 support. (Closes: #993855) + * Update to LLVM 13. + + -- Ximin Luo Fri, 15 Oct 2021 10:44:35 +0100 + +rustc (1.56.0~beta.4+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + + -- Ximin Luo Thu, 14 Oct 2021 22:50:58 +0100 + +rustc (1.55.0+dfsg1-2) unstable; urgency=medium + + * Actually work around segfault on ppc64el. + * Fix FTBFS on armhf caused by GCC 11 changes. + + -- Ximin Luo Thu, 14 Oct 2021 00:36:15 +0100 + +rustc (1.55.0+dfsg1-1) unstable; urgency=medium + + * Upload to unstable. + * Bump test failures-allowed on s390x to 40. + * Work around a segfault on ppc64el + + -- Ximin Luo Wed, 13 Oct 2021 22:06:15 +0100 + +rustc (1.55.0+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + + -- Ximin Luo Sat, 09 Oct 2021 03:22:08 +0100 + +rustc (1.54.0+dfsg1-3) unstable; urgency=medium + + * Fix links to cargo-doc. + + -- Ximin Luo Sat, 09 Oct 2021 11:46:08 +0100 + +rustc (1.54.0+dfsg1-2) unstable; urgency=medium + + * Fix some more build & test failures. + + -- Ximin Luo Sat, 09 Oct 2021 03:12:35 +0100 + +rustc (1.54.0+dfsg1-1) unstable; urgency=medium + + * Upload to unstable. + * Re-enable backported patch for armhf & reset its allowed-failures. + * Add compatibility patch for cargo 0.47. + * Ignore more spurious test failures, and filed upstream. + * Bump powerpc allowed-failures to 180 at the request of ports maintainers. + + -- Ximin Luo Sat, 09 Oct 2021 00:24:37 +0100 + +rustc (1.54.0+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + + -- Ximin Luo Wed, 06 Oct 2021 10:37:55 +0100 + +rustc (1.53.0+dfsg1-4) unstable; urgency=medium + + * Ignore some hanging test regressions on non-release arches powerpc, ppc64. + + -- Ximin Luo Wed, 06 Oct 2021 19:24:11 +0100 + +rustc (1.53.0+dfsg1-3) unstable; urgency=medium + + * Disable patch that was backported incorrectly. + * Temporarily increase armhf allowed-failures to 12. + + -- Ximin Luo Wed, 06 Oct 2021 19:01:54 +0100 + +rustc (1.53.0+dfsg1-2) unstable; urgency=medium + + * Fix some test failures. + + -- Ximin Luo Wed, 06 Oct 2021 10:29:03 +0100 + +rustc (1.53.0+dfsg1-1) unstable; urgency=medium + + * Upload to unstable. + * Update mips patches, disable a test as our workaround makes it invalid. + * Temporarily ignore some tests that fail on big-endian. + + -- Ximin Luo Tue, 05 Oct 2021 23:19:31 +0100 + +rustc (1.53.0+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. (Closes: #986803) + * Honour parallel option in DEB_BUILD_OPTIONS. (Closes: #993871) + + -- Ximin Luo Sat, 02 Oct 2021 12:46:49 +0100 + +rustc (1.52.1+dfsg1-1) unstable; urgency=medium + + * Upload to unstable. + * Reorganise dependencies, move optional rustc deps to rust-all. + + -- Ximin Luo Wed, 29 Sep 2021 20:05:55 +0100 + +rustc (1.52.1+dfsg1-1~exp3) experimental; urgency=medium + + * Update to LLVM 12. + + -- Ximin Luo Wed, 19 May 2021 17:52:44 +0100 + +rustc (1.52.1+dfsg1-1~exp2) experimental; urgency=medium + + * Fix rust-clippy dependency on libstd-rust-* + + -- Ximin Luo Sat, 15 May 2021 22:42:38 +0100 + +rustc (1.52.1+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + + -- Ximin Luo Sat, 15 May 2021 15:21:27 +0100 + +rustc (1.52.0+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + + -- Ximin Luo Fri, 07 May 2021 20:38:38 +0100 + +rustc (1.52.0~beta.3+dfsg1-1~exp4) experimental; urgency=medium + + * Fix issue with dh_missing --fail-missing + + -- Ximin Luo Thu, 06 May 2021 01:52:30 +0100 + +rustc (1.52.0~beta.3+dfsg1-1~exp3) experimental; urgency=medium + + * Fix Makefile addition syntax. + + -- Ximin Luo Wed, 05 May 2021 22:24:22 +0100 + +rustc (1.52.0~beta.3+dfsg1-1~exp2) experimental; urgency=medium + + * Install the rust-llvm-dwp symlink. + + -- Ximin Luo Wed, 05 May 2021 22:20:13 +0100 + +rustc (1.52.0~beta.3+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + + -- Ximin Luo Mon, 26 Apr 2021 12:31:27 +0100 + +rustc (1.51.0+dfsg1-1) unstable; urgency=medium + + * Upload to unstable. + * Install the rust-llvm-dwp symlink. + * Bump ppc64 allowed-failures to 24. + + -- Ximin Luo Sun, 19 Sep 2021 19:48:33 +0100 + +rustc (1.51.0+dfsg1-1~exp3) experimental; urgency=medium + + * Restore patch, not actually fixed upstream. + + -- Ximin Luo Mon, 26 Apr 2021 16:17:12 +0100 + +rustc (1.51.0+dfsg1-1~exp2) experimental; urgency=medium + + * Drop patch fixed upstream. + * Fix bootstrap with self version. + + -- Ximin Luo Mon, 26 Apr 2021 12:26:43 +0100 + +rustc (1.51.0+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + * Enable 32-bit windows support. + + -- Ximin Luo Mon, 12 Apr 2021 11:04:36 +0100 + +rustc (1.50.0+dfsg1-1) unstable; urgency=medium + + * Upload to unstable. + + -- Ximin Luo Sat, 18 Sep 2021 11:45:21 +0100 + +rustc (1.50.0+dfsg1-1~exp4) experimental; urgency=medium + + * Fix more tests with a backported upstream PR. + + -- Ximin Luo Mon, 12 Apr 2021 01:51:22 +0100 + +rustc (1.50.0+dfsg1-1~exp3) experimental; urgency=medium + + * Fix cross-compile to windows using same-version stage0. + + -- Ximin Luo Sun, 11 Apr 2021 13:52:41 +0100 + +rustc (1.50.0+dfsg1-1~exp2) experimental; urgency=medium + + * Fix tests, fix s390x breakage. + + -- Ximin Luo Fri, 09 Apr 2021 16:54:20 +0100 + +rustc (1.50.0+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + + -- Ximin Luo Mon, 05 Apr 2021 21:30:18 +0100 + +rustc (1.49.0+dfsg1-2) unstable; urgency=medium + + * Backport upstream PR 85807 to fix powerpc test issues. + + -- Ximin Luo Sat, 18 Sep 2021 11:33:09 +0100 + +rustc (1.49.0+dfsg1-1) unstable; urgency=medium + + * Upload to unstable. + + -- Ximin Luo Sat, 28 Aug 2021 10:48:11 +0100 + +rustc (1.49.0+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + + -- Ximin Luo Mon, 05 Apr 2021 14:59:34 +0100 + +rustc (1.49.0~beta.4+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + + -- Ximin Luo Sun, 20 Dec 2020 23:26:55 +0000 + +rustc (1.48.0+dfsg1-2) unstable; urgency=medium + + * Enable +xgot on mips64*, see upstream #52108 for details. + + -- Ximin Luo Sun, 20 Dec 2020 18:52:10 +0000 + +rustc (1.48.0+dfsg1-1) unstable; urgency=medium + + * New upstream release. + + -- Ximin Luo Tue, 01 Dec 2020 19:57:48 +0000 + +rustc (1.48.0~beta.8+dfsg1-1~exp3) experimental; urgency=medium + + * Update u-update-version-check.patch + + -- Ximin Luo Fri, 13 Nov 2020 01:36:31 +0000 + +rustc (1.48.0~beta.8+dfsg1-1~exp2) experimental; urgency=medium + + * Disable copy_file_range optimisation for now, see upstream #78979. + * Ignore some other minor tests, bugs have been filed upstream. + + -- Ximin Luo Thu, 12 Nov 2020 23:51:53 +0000 + +rustc (1.48.0~beta.8+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + + -- Ximin Luo Wed, 11 Nov 2020 12:31:18 +0000 + +rustc (1.47.0+dfsg1-1) unstable; urgency=medium + + * New upstream release. + * Update to LLVM 11. + * Ignore more tests on big-endian. + + -- Ximin Luo Sat, 07 Nov 2020 21:21:03 +0000 + +rustc (1.47.0~beta.2+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + + -- Ximin Luo Sat, 05 Sep 2020 16:11:16 +0100 + +rustc (1.46.0+dfsg1-1) unstable; urgency=medium + + * New upstream release. + + -- Ximin Luo Sat, 29 Aug 2020 16:54:36 +0100 + +rustc (1.46.0~beta.2+dfsg1-1~exp5) experimental; urgency=medium + + * Fix rust-gdb install path. (Closes: #968279) + * Drop powerpc allowed-failures to 12. (Closes: #955774) + * Update d-fix-mips64el-bootstrap.patch for newer LLVM. + + -- Ximin Luo Fri, 14 Aug 2020 23:45:25 +0100 + +rustc (1.46.0~beta.2+dfsg1-1~exp4) experimental; urgency=medium + + * Move cross-linker Depends to Recommends - for cross-compiling support + libraries should never hard-depend on toolchains. This also allows us to + add the usual M-A annotations for libraries. + + -- Ximin Luo Sun, 09 Aug 2020 18:16:16 +0100 + +rustc (1.46.0~beta.2+dfsg1-1~exp3) experimental; urgency=medium + + * Drop "-cross" suffix from libstd naming, after discussion with Helmut + Grohne. Since libstd-rust-dev-wasm-cross is not yet in stable and only + has 4 installed users, we do not retain a migration package. + + -- Ximin Luo Sun, 09 Aug 2020 14:27:54 +0100 + +rustc (1.46.0~beta.2+dfsg1-1~exp2) experimental; urgency=medium + + * Add support for cross-compiling to windows. See README.Debian for details. + Currently only 64-bit works, we are waiting on #540782 for 32-bit. + + -- Ximin Luo Sun, 09 Aug 2020 03:52:34 +0100 + +rustc (1.46.0~beta.2+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + + -- Ximin Luo Fri, 07 Aug 2020 00:15:46 +0100 + +rustc (1.45.0+dfsg1-2) unstable; urgency=medium + + * Add some more big-endian test patches. + * Backport some patches to fix some testsuite ICEs. + + -- Ximin Luo Thu, 06 Aug 2020 21:11:39 +0100 + +rustc (1.45.0+dfsg1-1) unstable; urgency=medium + + * Upload to unstable. + + -- Ximin Luo Wed, 05 Aug 2020 21:41:39 +0100 + +rustc (1.45.0+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + + -- Ximin Luo Mon, 27 Jul 2020 17:45:24 +0100 + +rustc (1.44.1+dfsg1-3) unstable; urgency=medium + + * Fix patch for line numbers on little-endian arches. + + -- Ximin Luo Tue, 28 Jul 2020 21:51:36 +0100 + +rustc (1.44.1+dfsg1-2) unstable; urgency=medium + + * Ignore tests that assume little-endian on big-endian arches. + See upstream #74829 for details. + + -- Ximin Luo Tue, 28 Jul 2020 21:20:24 +0100 + +rustc (1.44.1+dfsg1-1) unstable; urgency=medium + + * Upload to unstable. + * Backport a typenum fix for i386. + * Work around upstream #74786 involving debuginfo maps. + + -- Ximin Luo Mon, 27 Jul 2020 13:15:20 +0100 + +rustc (1.44.1+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + + -- Ximin Luo Sat, 04 Jul 2020 18:04:42 +0100 + +rustc (1.43.0+dfsg1-1) unstable; urgency=medium + + * Upload to unstable. + * Bump LLVM B-D version for some backported fixes affecting rustc. + + -- Ximin Luo Sun, 05 Jul 2020 15:06:52 +0100 + +rustc (1.43.0+dfsg1-1~exp1) experimental; urgency=medium + + * Drop sparc64 workaround. (Closes: #956413) + * Drop stack-gap workaround for old kernels and rust versions. + * New upstream release. + + -- Ximin Luo Mon, 27 Apr 2020 13:09:20 +0100 + +rustc (1.42.0+dfsg1-1) unstable; urgency=medium + + * Upload to unstable. + + -- Ximin Luo Fri, 10 Apr 2020 11:33:25 +0100 + +rustc (1.42.0+dfsg1-1~exp1) experimental; urgency=medium + + [ Fabian Grünbichler ] + * Team upload. + * New upstream release. + + -- Ximin Luo Sat, 04 Apr 2020 16:06:03 +0100 + +rustc (1.41.1+dfsg1-1) unstable; urgency=medium + + * Upload to unstable. + + -- Ximin Luo Fri, 03 Apr 2020 23:41:11 +0100 + +rustc (1.41.1+dfsg1-1~exp1) experimental; urgency=medium + + [ Ximin Luo ] + * More python 2 -> 3 fixes. + * Enable the wasm32-wasi target for code that needs a "real" libstd. + * Don't strip static rlibs. This sometimes breaks wasm, and more generally + the stripped debuginfo is actually totally lost rather than being moved + into the -dbgsym packages. Shared libraries are unaffected and work. + * Allow 180 failing tests on riscv64, none were actually run last time. + + [ Fabian Grünbichler ] + * New upstream release. + + -- Ximin Luo Mon, 09 Mar 2020 00:31:34 +0000 + +rustc (1.40.0+dfsg1-5) unstable; urgency=medium + + * More python 2 -> 3 fixes. + * Allow 24 failing tests on riscv64. + * Reenable debuginfo for rustc, not just libstd. + * Reenable backtraces during tests. + + -- Ximin Luo Sun, 05 Jan 2020 13:35:46 +0000 + +rustc (1.40.0+dfsg1-4) unstable; urgency=medium + + * Experimental riscv64 support. + + -- Ximin Luo Sat, 04 Jan 2020 05:40:11 +0000 + +rustc (1.40.0+dfsg1-3) unstable; urgency=medium + + * Work around upstream #59264 again. :/ + + -- Ximin Luo Fri, 03 Jan 2020 22:05:16 +0000 + +rustc (1.40.0+dfsg1-2) unstable; urgency=medium + + * Fix more internal build scripts so they use python3. + * Don't add -L/usr/lib/llvm when cross-compiling. (Closes: #941783) + + -- Ximin Luo Fri, 03 Jan 2020 20:18:46 +0000 + +rustc (1.40.0+dfsg1-1) unstable; urgency=medium + + * Upload to unstable. + * Ignore new test failing on arm that also fails in previous versions. + + -- Ximin Luo Sun, 29 Dec 2019 22:17:04 +0000 + +rustc (1.40.0+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + + -- Ximin Luo Wed, 25 Dec 2019 00:09:24 +0000 + +rustc (1.39.0+dfsg1-4) unstable; urgency=medium + + * Update to LLVM 9. (Closes: #946886) + + -- Ximin Luo Mon, 23 Dec 2019 03:21:02 +0000 + +rustc (1.39.0+dfsg1-3) unstable; urgency=medium + + * Fix mips patch involving mxgot for new RUSTFLAGS behaviour. + + -- Ximin Luo Fri, 06 Dec 2019 22:18:53 +0000 + +rustc (1.39.0+dfsg1-2) unstable; urgency=medium + + * Include reproducibility patch for compiler-builtins. + * Use python3 instead of python to run rustbuild. (Closes: #938422) + * Expand d-ignore-error-detail-diff.patch for unfixed upstream #53081. + + -- Ximin Luo Thu, 05 Dec 2019 22:51:41 +0000 + +rustc (1.39.0+dfsg1-1) unstable; urgency=medium + + * New upstream release. + + -- Ximin Luo Sat, 30 Nov 2019 22:20:48 +0000 + +rustc (1.38.0+dfsg1-2) unstable; urgency=medium + + * Fix building with rustc 1.38.0 + * Fix building with cargo 0.40.0 + + -- Ximin Luo Fri, 29 Nov 2019 00:05:16 +0000 + +rustc (1.38.0+dfsg1-1) unstable; urgency=medium + + * New upstream release. + + -- Ximin Luo Tue, 26 Nov 2019 14:41:46 +0000 + +rustc (1.37.0+dfsg1-1) unstable; urgency=medium + + * Upload to unstable. + * Fix a typo in debian/rules regex causing FTBFS on some arches. + + -- Ximin Luo Thu, 05 Sep 2019 00:06:23 -0700 + +rustc (1.37.0+dfsg1-1~exp2) experimental; urgency=medium + + * Support cross-compiling to wasm32. (Closes: #903110) + To do that, install the libstd-rust-dev-wasm32-cross package and give + --target wasm32-unknown-unknown. + * Drop dependency on system compiler-rt, these new versions of rustc + actually don't need it at all. + + -- Ximin Luo Thu, 29 Aug 2019 09:00:03 -0700 + +rustc (1.37.0+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + * Use system compiler-rt. + + -- Ximin Luo Sun, 25 Aug 2019 03:06:33 -0700 + +rustc (1.36.0+dfsg1-2) unstable; urgency=medium + + * Set CARGO_HOME to debian/cargo_home (instead of $HOME/.cargo) as newer + versions of cargo must take a file lock that has to exist. + + -- Ximin Luo Wed, 17 Jul 2019 18:25:06 -0700 + +rustc (1.36.0+dfsg1-1) unstable; urgency=medium + + * Upload to unstable. + + -- Ximin Luo Tue, 16 Jul 2019 20:27:55 -0700 + +rustc (1.36.0+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + + -- Ximin Luo Sat, 13 Jul 2019 12:42:05 -0700 + +rustc (1.35.0+dfsg1-1) unstable; urgency=medium + + * Add entry in 1.34.2+dfsg1-1 to note that it uses LLVM 7. + * Add entry in 1.35.0+dfsg1-1~exp2 to note that it uses LLVM 8. + * Fix ICE on sparc64 by including upstream PR #61881. + + -- Ximin Luo Sat, 13 Jul 2019 10:30:35 -0700 + +rustc (1.35.0+dfsg1-1~exp1) experimental; urgency=medium + + * Don't use system compiler-rt, it's not ready yet. + * Update to LLVM 8. + * New upstream release. + + -- Ximin Luo Sun, 09 Jun 2019 23:20:52 -0700 + +rustc (1.34.2+dfsg1-1) unstable; urgency=medium + + * Don't use system compiler-rt, there are issues with that for now. + * Use LLVM 7 for the Debian buster release. + + -- Ximin Luo Wed, 29 May 2019 21:52:37 -0700 + +rustc (1.34.2+dfsg1-1~exp2) experimental; urgency=medium + + * Fix doc build, add version 1 compat mode hack for mdBook 2. + * Use system compiler-rt from libclang-common-*-dev. + + -- Ximin Luo Fri, 24 May 2019 00:39:59 -0700 + +rustc (1.34.2+dfsg1-1~exp1) experimental; urgency=medium + + * Ensure Cargo.toml is in rust-src. + * New upstream release. + * Update to LLVM 8. + + -- Ximin Luo Sun, 19 May 2019 02:40:02 -0700 + +rustc (1.33.0+dfsg1-2) unstable; urgency=medium + + * Add Fedora patches. + * Bump i386 allowed test failures to 12. + + -- Ximin Luo Sat, 18 May 2019 12:18:25 -0700 + +rustc (1.33.0+dfsg1-1) unstable; urgency=medium + + * Upload to unstable. + * Fix build on mips, flags needed whitespace massaging. + * Drop obsolete patches. + + -- Ximin Luo Fri, 17 May 2019 21:04:20 -0700 + +rustc (1.33.0+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + + [ Hiroaki Nakamura ] + * Delete obsolete patch. + + [ Sylvestre Ledru ] + * Update compiler-rt patch. + * Improve build-related docs a bit. + + -- Ximin Luo Mon, 29 Apr 2019 19:50:48 -0700 + +rustc (1.32.0+dfsg1-3) unstable; urgency=medium + + * Conditionally-apply u-compiletest.patch based on stage0 compiler. + * Fix syntax error in d/rules compiletest check. + + -- Ximin Luo Sun, 17 Mar 2019 16:40:05 -0700 + +rustc (1.32.0+dfsg1-2) unstable; urgency=medium + + * More verbose logging during builds. + * Fix compiletest compile error, and check log has at least 1 pass. + + -- Ximin Luo Sun, 17 Mar 2019 12:52:57 -0700 + +rustc (1.32.0+dfsg1-1) unstable; urgency=medium + + * New upstream release. + + -- Ximin Luo Sun, 27 Jan 2019 22:02:48 -0800 + +rustc (1.32.0~beta.2+dfsg1-1~exp2) experimental; urgency=medium + + * Note that this upstream version already Closes: #917191. + * Backport other upstream fixes. (Closes: #916818, #917000, #917192). + + -- Ximin Luo Tue, 01 Jan 2019 15:26:57 -0800 + +rustc (1.32.0~beta.2+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + * Drop obsolete d-sparc64-dont-pack-spans.patch + + -- Ximin Luo Sun, 16 Dec 2018 13:48:25 -0800 + +rustc (1.31.0+dfsg1-2) unstable; urgency=medium + + * Bump mips mipsel s390x allowed-failures to 24. + + -- Ximin Luo Sun, 16 Dec 2018 14:34:44 -0800 + +rustc (1.31.0+dfsg1-1) unstable; urgency=medium + + * Revert debuginfo patches, they're not ready yet. + + -- Ximin Luo Sun, 16 Dec 2018 09:58:06 -0800 + +rustc (1.31.0+dfsg1-1~exp2) experimental; urgency=medium + + * Drop redundant patches. + * Fix line numbers in some test-case patches. + * Backport an updated patch for gdb 8.2. + + -- Ximin Luo Sat, 15 Dec 2018 13:52:26 -0800 + +rustc (1.31.0+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + + -- Ximin Luo Fri, 14 Dec 2018 21:30:56 -0800 + +rustc (1.31.0~beta.19+dfsg1-1~exp2) experimental; urgency=medium + + * Filter LLVM build flags to not be stupid. + + -- Ximin Luo Sat, 01 Dec 2018 12:17:52 -0800 + +rustc (1.31.0~beta.19+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + + -- Ximin Luo Thu, 29 Nov 2018 22:29:16 -0800 + +rustc (1.31.0~beta.4+dfsg1-1~exp2) experimental; urgency=medium + + * Merge changes from Debian unstable. + + -- Ximin Luo Tue, 06 Nov 2018 19:45:26 -0800 + +rustc (1.31.0~beta.4+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + * Drop old maintainers from Uploaders. + + -- Ximin Luo Sun, 04 Nov 2018 19:00:16 -0800 + +rustc (1.30.0+dfsg1-2) unstable; urgency=medium + + * Increase FAILURES_ALLOWED for mips mipsel to 20. + * Set debuginfo-only-std = false for 32-bit powerpc architectures. + + -- Ximin Luo Fri, 02 Nov 2018 01:42:36 -0700 + +rustc (1.30.0+dfsg1-1) unstable; urgency=medium + + * Upload to unstable. (Closes: #881845) + * Increase FAILURES_ALLOWED for mips architectures. + * Set debuginfo-only-std = false for mips architectures. + + -- Ximin Luo Thu, 01 Nov 2018 10:05:52 -0700 + +rustc (1.30.0+dfsg1-1~exp2) experimental; urgency=medium + + * Disable debuginfo-gdb tests relating to enums. These will be fixed in an + upcoming version, see upstream #54614 for details. + + -- Ximin Luo Wed, 31 Oct 2018 00:02:25 -0700 + +rustc (1.30.0+dfsg1-1~exp1) experimental; urgency=medium + + * Actually don't build docs in an arch-only build. + * Add mips patch, hopefully closes #881845 but let's see. + * New upstream release. + + -- Ximin Luo Tue, 30 Oct 2018 22:05:59 -0700 + +rustc (1.30.0~beta.7+dfsg1-1~exp3) experimental; urgency=medium + + * Do the necessary bookkeeping for the LLVM update. + + -- Ximin Luo Wed, 26 Sep 2018 23:29:18 -0700 + +rustc (1.30.0~beta.7+dfsg1-1~exp2) experimental; urgency=medium + + * Tweak test failure rules: armel <= 8, ppc64 <= 12. + * Update to LLVM 7. + + -- Ximin Luo Wed, 26 Sep 2018 21:43:30 -0700 + +rustc (1.30.0~beta.7+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + + -- Ximin Luo Sun, 23 Sep 2018 10:40:30 -0700 + +rustc (1.29.0+dfsg1-1) unstable; urgency=medium + + * Upload to unstable. + * Drop d-armel-disable-kernel-helpers.patch as a necessary part of the + fix to #906520, so it is actually fixed. + * Backport a patch to fix the rand crate on powerpc. (Closes: #909400) + * Lower the s390x allowed failures back to 25. + + -- Ximin Luo Sun, 23 Sep 2018 10:16:53 -0700 + +rustc (1.29.0+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + * Include patch for armel atomics. (Closes: #906520) + * Update to latest Standards-Version; no changes required. + + -- Ximin Luo Thu, 20 Sep 2018 22:33:20 -0700 + +rustc (1.28.0+dfsg1-3) unstable; urgency=medium + + * Team upload. + + [ Ximin Luo ] + * More sparc64 fixes, and increase allowed-test-failures there to 180. + + [ Julien Cristau ] + * Don't use pentium4 as i686 baseline (closes: #908561) + + -- Julien Cristau Tue, 11 Sep 2018 15:54:27 +0200 + +rustc (1.28.0+dfsg1-2) unstable; urgency=medium + + * Switch on verbose-tests to restore the old pre-1.28 behaviour, and restore + old failure-counting logic. + * Allow 50 test failures on s390x, restored failure-counting logic avoids + more double-counts. + + -- Ximin Luo Sun, 05 Aug 2018 02:18:10 -0700 + +rustc (1.28.0+dfsg1-1) unstable; urgency=medium + + * New upstream release. + * Add patches from Fedora to fix some test failures. + * Ignore a failure testing specific error output, under investigation. + * Allow 100 test failures on s390x, should be reducible later with LLVM 7. + * Temporary fix for mips64el bootstrap. + * Be even more verbose during the build. + * Update to latest Standards-Version. + + -- Ximin Luo Sat, 04 Aug 2018 23:04:41 -0700 + +rustc (1.28.0~beta.14+dfsg1-1~exp2) experimental; urgency=medium + + * Update test-failure counting logic. + * Fix version constraints for Recommends: cargo. + * Add patch to fix sparc64 CABI. + + -- Ximin Luo Fri, 27 Jul 2018 04:26:52 -0700 + +rustc (1.28.0~beta.14+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + * Update to latest Standards-Version; no changes required. + + -- Ximin Luo Wed, 25 Jul 2018 03:11:11 -0700 + +rustc (1.27.2+dfsg1-1) unstable; urgency=medium + + [ Sylvestre Ledru ] + * Update of the alioth ML address. + + [ Ximin Luo ] + * Fail the build if our version contains ~exp and we are not releasing to + experimental, this has happened by accident a few times already. + * Allow 36 and 44 test failures on armel and s390x respectively. + * New upstream release. + + -- Ximin Luo Tue, 24 Jul 2018 21:35:56 -0700 + +rustc (1.27.1+dfsg1-1~exp4) experimental; urgency=medium + + * Unconditonally prune crate checksums to avoid having to manually prune them + whenever we patch the vendored crates. + + -- Ximin Luo Thu, 19 Jul 2018 14:49:18 -0700 + +rustc (1.27.1+dfsg1-1~exp3) experimental; urgency=medium + + * Add patch from Fedora to fix rebuild against same version. + + -- Ximin Luo Thu, 19 Jul 2018 08:52:03 -0700 + +rustc (1.27.1+dfsg1-1~exp2) experimental; urgency=medium + + * Fix some failing tests. + + -- Ximin Luo Wed, 18 Jul 2018 09:06:44 -0700 + +rustc (1.27.1+dfsg1-1~exp1) unstable; urgency=medium + + * New upstream release. + + -- Ximin Luo Fri, 13 Jul 2018 22:58:02 -0700 + +rustc (1.26.2+dfsg1-1) unstable; urgency=medium + + * New upstream release. + * Stop ignoring tests that now pass. + * Don't ignore tests that still fail, instead raise FAILURES_ALLOWED. + This allows us to see the test failures in the build logs, rather than + hiding them. + + -- Ximin Luo Sat, 16 Jun 2018 12:39:59 -0700 + +rustc (1.26.1+dfsg1-3) unstable; urgency=medium + + * Fix build-dep version range to build against myself. + + -- Ximin Luo Thu, 31 May 2018 09:25:17 -0700 + +rustc (1.26.1+dfsg1-2) unstable; urgency=medium + + * Also ignore test_loading_cosine on ppc64el. + + -- Ximin Luo Wed, 30 May 2018 20:58:46 -0700 + +rustc (1.26.1+dfsg1-1) unstable; urgency=medium + + * New upstream release. + + -- Ximin Luo Wed, 30 May 2018 08:18:04 -0700 + +rustc (1.26.0+dfsg1-1~exp4) experimental; urgency=medium + + * Try alternative patch to ignore x86 stdsimd tests suggested by upstream. + * Bump up allowed-test-failures to 8 to account for the fact that we're now + double-counting some failures. + + -- Ximin Luo Tue, 29 May 2018 20:36:56 -0700 + +rustc (1.26.0+dfsg1-1~exp3) experimental; urgency=medium + + * Ignore some irrelevant tests on ppc64 and non-x86 platforms. + + -- Ximin Luo Tue, 29 May 2018 09:32:38 -0700 + +rustc (1.26.0+dfsg1-1~exp2) experimental; urgency=medium + + * Add Breaks+Replaces for older libstd-rust-dev with codegen-backends. + (Closes: #899180) + * Backport some test and packaging fixes from Ubuntu. + + -- Ximin Luo Tue, 22 May 2018 22:00:53 -0700 + +rustc (1.26.0+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + * Update to latest Standards-Version; no changes required. + * Update doc-base files. (Closes: #876831) + + -- Ximin Luo Sun, 20 May 2018 03:11:45 -0700 + +rustc (1.25.0+dfsg1-2) unstable; urgency=medium + + * Add patches for LLVM's compiler-rt to fix bugs on sparc64 and mips64. + (Closes: #898982) + * Install codegen-backends into rustc rather than libstd-rust-dev. + (Closes: #899087) + + -- Ximin Luo Sat, 19 May 2018 13:10:33 -0700 + +rustc (1.25.0+dfsg1-1) unstable; urgency=medium + + * Upload to unstable. + * Allow up to 15 test failures on s390x. + * Set CARGO_INCREMENTAL=0 on sparc64. + + -- Ximin Luo Fri, 18 May 2018 01:11:15 -0700 + +rustc (1.25.0+dfsg1-1~exp2) experimental; urgency=medium + + * Install missing codegen-backends. + + -- Ximin Luo Fri, 06 Apr 2018 14:05:36 -0700 + +rustc (1.25.0+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + * Update to LLVM 6.0. + + -- Ximin Luo Sun, 01 Apr 2018 15:59:47 +0200 + +rustc (1.24.1+dfsg1-1) unstable; urgency=medium + + * Upload to unstable. + * Raise allowed-test-failures to 160 on some non-release arches: powerpc, + powerpcspe, sparc64, x32. + + -- Ximin Luo Wed, 07 Mar 2018 20:07:27 +0100 + +rustc (1.24.1+dfsg1-1~exp2) experimental; urgency=medium + + * Steal some patches from Fedora to fix some test failures. + * Update debian/patches/u-make-tests-work-without-rpath.patch to try to fix + some more test failures. + + -- Ximin Luo Mon, 05 Mar 2018 16:25:26 +0100 + +rustc (1.24.1+dfsg1-1~exp1) experimental; urgency=medium + + * More sparc64 CABI fixes. (Closes: #888757) + * New upstream release. + * Note that s390x baseline was updated in the meantime. (Closes: #851150) + * Include Debian-specific patch to disable kernel helpers on armel. + (Closes: #891902) + * Include missing build-dependencies for pkg.rustc.dlstage0 build profile. + (Closes: #891022) + * Add architecture.mk mapping for armel => armv5te-unknown-linux-gnueabi. + (Closes: #891913) + * Enable debuginfo-only-std on armel as well. (Closes: #891961) + * Backport upstream patch to support powerpcspe. (Closes: #891542) + * Disable full-bootstrap again to work around upstream #48319. + + -- Ximin Luo Sat, 03 Mar 2018 14:23:29 +0100 + +rustc (1.23.0+dfsg1-1) unstable; urgency=medium + + * Upload to unstable. + + -- Ximin Luo Fri, 19 Jan 2018 11:49:31 +0100 + +rustc (1.23.0+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + * Update to latest Standards-Version; no changes required. + + -- Ximin Luo Sun, 14 Jan 2018 00:08:17 +0100 + +rustc (1.22.1+dfsg1-2) unstable; urgency=medium + + * Fix B-D rustc version so this package can be built using itself. + + -- Ximin Luo Mon, 01 Jan 2018 14:27:19 +0100 + +rustc (1.22.1+dfsg1-1) unstable; urgency=medium + + [ Ximin Luo ] + * Remove unimportant files that autoload remote resources from rust-src. + * Fix more symlinks in rust-doc. + * On armhf, only generate debuginfo for libstd and not the compiler itself. + This works around buildds running out of memory, see upstream #45854. + * Update to latest Standards-Version; no changes required. + + [ Chris Coulson ] + * Fix some test failures that occur because we build rust without an rpath. + + -- Ximin Luo Mon, 18 Dec 2017 19:46:25 +0100 + +rustc (1.22.1+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release. + * Fix symlink target. (Closes: #877276) + + -- Ximin Luo Sat, 25 Nov 2017 22:29:12 +0100 + +rustc (1.21.0+dfsg1-3) unstable; urgency=medium + + * Add/fix detection for sparc64, thanks to John Paul Adrian Glaubitz. + * Workaround FTBFS when building docs. (Closes: #880262) + + -- Ximin Luo Mon, 06 Nov 2017 10:03:32 +0100 + +rustc (1.21.0+dfsg1-2) unstable; urgency=medium + + * Upload to unstable. + * Fix bootstrapping using 1.21.0, which is more strict about redundant &mut + previously used in u-output-failed-commands.patch. + * Only allow up to 5 test failures. + + -- Ximin Luo Wed, 25 Oct 2017 20:27:30 +0200 + +rustc (1.21.0+dfsg1-1) experimental; urgency=medium + + * New upstream release. + * Fix the "install" target for cross-compilations; cross-compiling with + sbuild --host=$foreign-arch should work again. + * Update to latest Standards-Version; changes: + - Priority changed to optional from extra. + + -- Ximin Luo Tue, 17 Oct 2017 00:42:54 +0200 + +rustc (1.20.0+dfsg1-3) unstable; urgency=medium + + * Disable jemalloc to fix FTBFS with 1.21 on armhf. + + -- Ximin Luo Wed, 25 Oct 2017 12:01:19 +0200 + +rustc (1.20.0+dfsg1-2) unstable; urgency=medium + + * Update changelog entry for 1.20.0+dfsg1-1 to reflect that it was actually + and accidentally uploaded to unstable. No harm, no foul. + * We are no longer failing the build when tests fail, see NEWS or + README.Debian for details. + * Bump LLVM requirement to fix some failing tests. + + -- Ximin Luo Sat, 21 Oct 2017 14:20:17 +0200 + +rustc (1.20.0+dfsg1-1) unstable; urgency=medium + + * New upstream release. + + -- Ximin Luo Sun, 15 Oct 2017 23:30:35 +0200 + +rustc (1.19.0+dfsg3-4) unstable; urgency=medium + + * Bump LLVM requirement to pull in a fix for a FTBFS on ppc64el. + + -- Ximin Luo Sun, 15 Oct 2017 21:31:03 +0200 + +rustc (1.19.0+dfsg3-3) unstable; urgency=medium + + * Fix a trailing whitespace for tidy. + + -- Ximin Luo Tue, 19 Sep 2017 16:09:41 +0200 + +rustc (1.19.0+dfsg3-2) unstable; urgency=medium + + * Upload to unstable. + * Add a patch to print extra information when tests fail. + + -- Ximin Luo Tue, 19 Sep 2017 12:32:03 +0200 + +rustc (1.19.0+dfsg3-1) experimental; urgency=medium + + * New upstream release. + * Upgrade to LLVM 4.0. (Closes: #873421) + * rust-src: install Debian patches as well + + -- Ximin Luo Fri, 15 Sep 2017 04:02:09 +0200 + +rustc (1.18.0+dfsg1-4) unstable; urgency=medium + + * Support gperf 3.1. (Closes: #869610) + + -- Ximin Luo Tue, 25 Jul 2017 23:19:47 +0200 + +rustc (1.18.0+dfsg1-3) unstable; urgency=medium + + * Upload to unstable. + * Disable failing run-make test on armhf. + + -- Ximin Luo Sat, 22 Jul 2017 20:30:25 +0200 + +rustc (1.18.0+dfsg1-2) experimental; urgency=medium + + * Update to latest Standards-Version; no changes required. + * Change rustc to Multi-Arch: allowed and update Build-Depends with :native + annotations. Multi-Arch: foreign is typically for arch-indep packages that + might need to satisfy dependency chains of different architectures. Also + update instructions on cross-compiling to match this newer situation. + * Build debugging symbols for non-libstd parts of rustc. + + -- Ximin Luo Mon, 17 Jul 2017 23:04:03 +0200 + +rustc (1.18.0+dfsg1-1) experimental; urgency=medium + + * New upstream release. + + -- Ximin Luo Tue, 27 Jun 2017 12:51:22 +0200 + +rustc (1.17.0+dfsg2-8) unstable; urgency=medium + + * Workaround for linux #865549, fix FTBFS on ppc64el. + + -- Ximin Luo Mon, 17 Jul 2017 13:41:59 +0200 + +rustc (1.17.0+dfsg2-7) unstable; urgency=medium + + * Show exception traceback in bootstrap.py to examine ppc64el build failure. + + -- Ximin Luo Wed, 21 Jun 2017 10:46:27 +0200 + +rustc (1.17.0+dfsg2-6) unstable; urgency=medium + + * Upload to unstable. + + -- Ximin Luo Wed, 21 Jun 2017 00:24:22 +0200 + +rustc (1.17.0+dfsg2-5) experimental; urgency=medium + + * More work-arounds for armhf test failures. + + -- Ximin Luo Fri, 16 Jun 2017 13:27:45 +0200 + +rustc (1.17.0+dfsg2-4) experimental; urgency=medium + + * Fix arch-indep and arch-dep tests. + * Bump the LLVM requirement to fix FTBFS on armhf. + + -- Ximin Luo Wed, 14 Jun 2017 21:37:16 +0200 + +rustc (1.17.0+dfsg2-3) experimental; urgency=medium + + * Try to force the real gdb package. Some resolvers like aspcud will select + gdb-minimal under some circumstances, but this causes the debuginfo-gdb + tests to break. + + -- Ximin Luo Wed, 14 Jun 2017 00:48:37 +0200 + +rustc (1.17.0+dfsg2-2) experimental; urgency=medium + + * Support and document cross-compiling of rustc itself. + * Document cross-compiling other rust packages such as cargo. + * Work around upstream #39015 by disabling those tests rather than by + disabling optimisation, which causes FTBFS on 1.17.0 ppc64el. See + upstream #42476 and #42532 for details. + + -- Ximin Luo Tue, 13 Jun 2017 21:13:31 +0200 + +rustc (1.17.0+dfsg2-1) experimental; urgency=medium + + [ Sylvestre Ledru ] + * New upstream release + + [ Ximin Luo ] + * Adapt packaging for rustbuild, the new upstream cargo-based build system. + + [ Matthijs van Otterdijk ] + * Add a binary package, rust-src. (Closes: #846177) + * Link to local Debian web resources in the docs, instead of remote ones. + + -- Ximin Luo Tue, 16 May 2017 18:00:53 +0200 + +rustc (1.16.0+dfsg1-1) unstable; urgency=medium + + * Upload to unstable so we have something to build 1.17 with. + * Update u-ignoretest-powerpc.patch for 1.16. + + -- Ximin Luo Wed, 19 Apr 2017 22:47:18 +0200 + +rustc (1.16.0+dfsg1-1~exp2) experimental; urgency=medium + + * Don't ignore test failures on Debian unstable. + * Re-fix ignoring armhf test, accidentally reverted in previous version. + * Try to fix buildd failure by swapping B-D alternatives. + + -- Ximin Luo Sun, 16 Apr 2017 15:05:47 +0200 + +rustc (1.16.0+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release + * u-ignoretest-jemalloc.patch removed (applied upstream) + + [ Matthias Klose ] + * Bootstrap using the rustc version in the archive, on all architectures. + * Work around a GCC 4.8 ICE on AArch64. + * Use alternative build dependencies on cmake3 and binutils-2.26 for + builds on 14.04 LTS (trusty). + * debian/make_orig*dl_tarball.sh: Include all Ubuntu architectures. + * debian/rules: Ignore test results for now. + + -- Sylvestre Ledru Thu, 13 Apr 2017 15:24:03 +0200 + +rustc (1.15.1+dfsg1-1) unstable; urgency=medium + + * Upload to unstable so we have something to build 1.16 with. + * Try to fix ignoring atomic-lock-free tests on armhf. + + -- Ximin Luo Wed, 22 Mar 2017 00:13:27 +0100 + +rustc (1.15.1+dfsg1-1~exp3) experimental; urgency=medium + + * Ignore atomic-lock-free tests on armhf. + * Update ignoretest-armhf_03.patch for newer 1.15.1 behaviour. + * Tidy up some other patches to do with ignoring tests. + + -- Ximin Luo Sun, 12 Mar 2017 04:15:33 +0100 + +rustc (1.15.1+dfsg1-1~exp2) experimental; urgency=medium + + * Update armhf ignoretest patch. + * Bootstrap armhf. (Closes: #809316, #834003) + * Bootstrap ppc4el. (Closes: #839643) + * Fix rust-lldb symlink. (Closes: #850639) + + -- Ximin Luo Thu, 02 Mar 2017 23:01:26 +0100 + +rustc (1.15.1+dfsg1-1~exp1) experimental; urgency=medium + + * New upstream release (won't probably be in stretch). + see the 1.4 git branch for the follow up for stable + * Call to the test renamed from check-notidy => check + * d/p/u-destdir-support.diff: Apply upstream patch to support + destdir in the make install (for rustbuild, in later versions) + * Overrides the 'binary-or-shlib-defines-rpath' lintian warnings. + We need them for now + * Refresh of the patches + + [ Sven Joachim ] + * Drop Pre-Depends on multiarch-support. (Closes: #856109) + + [ Erwan Prioul ] + * Fix test and build failures for ppc64el. (Closes: #839643) + + [ Ximin Luo ] + * Disable rustbuild for the time being (as it was in 1.14) and instead + bootstrap two new arches, armhf and ppc64el. + * Switch back to debhelper 9 to make backporting easier. + * Switch Build-Depends on binutils-multiarch back to binutils, the former is + no longer needed by the upstream tests. + + [ Matthias Klose ] + * Compatibility fixes and improvements to help work better on Ubuntu. + + -- Sylvestre Ledru Sun, 26 Feb 2017 21:12:27 +0100 + +rustc (1.14.0+dfsg1-3) unstable; urgency=medium + + * Fix mips64 Makefile patches. + * Don't run arch-dep tests in a arch-indep build. + + -- Ximin Luo Wed, 04 Jan 2017 21:34:56 +0100 + +rustc (1.14.0+dfsg1-2) unstable; urgency=medium + + * Update README.Debian, the old one was way out of date. + * Detect mips CPUs in ./configure and fill in mips Makefile rules. + * Work around jemalloc-related problems in the upstream bootstrapping + binaries for arm64, ppc64el, s390x. + * Disable jemalloc on s390x - upstream already disable it for some other + arches. + * Disable jemalloc tests for arches where jemalloc is disabled. + * We still expect the following failures: + * arm64 should be fixed (i.e. no failures) compared to the previous upload. + * armhf will FTBFS due to 'Illegal instruction' and this can only be fixed + with the next stable rustc release. + * mips mipsel mips64el ppc64 ppc64el s390x will FTBFS due to yet other + test failures beyond the ones I fixed above; this upload is only to save + me manual work in producing nice reports that exhibit these failures. + + -- Ximin Luo Thu, 29 Dec 2016 23:00:47 +0100 + +rustc (1.14.0+dfsg1-1) unstable; urgency=medium + + [ Sylvestre Ledru ] + * New upstream release + * Update debian/watch + + [ Ximin Luo ] + * Try to bootstrap armhf ppc64 ppc64el s390x mips mipsel mips64el. + (Closes: #809316, #834003, #839643) + * Make rust-gdb and rust-lldb arch:all packages. + * Switch to debhelper 10. + + -- Ximin Luo Sat, 24 Dec 2016 18:03:03 +0100 + +rustc (1.13.0+dfsg1-2) unstable; urgency=high + + * Skip macro-stepping test on arm64, until + https://github.com/rust-lang/rust/issues/37225 is resolved. + + -- Luca Bruno Sat, 26 Nov 2016 23:40:14 +0000 + +rustc (1.13.0+dfsg1-1) unstable; urgency=medium + + [ Sylvestre Ledru ] + * New upstream release. + + [ Ximin Luo ] + * Use Debian system jquery instead of upstream's embedded copy. + + -- Sylvestre Ledru Fri, 11 Nov 2016 13:35:23 +0100 + +rustc (1.12.1+dfsg1-1) unstable; urgency=medium + + [ Sylvestre Ledru ] + * New (minor) upstream release + * Missing dependency from rust-lldb to python-lldb-3.8 (Closes: #841833) + * Switch to llvm 3.9. (Closes: #841834) + + [ Ximin Luo ] + * Dynamically apply rust-boot-1.12.1-from-1.12.0.diff. + This allows us to bootstrap from either 1.11.0 or 1.12.0. + * Bump LLVM Build-Depends version to get the backported patches for LLVM + #30402 and #29163. + * Install debugger_pretty_printers_common to rust-gdb and rust-lldb. + (Closes: #841835) + + -- Ximin Luo Mon, 07 Nov 2016 14:15:14 +0100 + +rustc (1.12.0+dfsg1-2) unstable; urgency=medium + + * Ignore test run-make/no-duplicate-libs. Fails on i386 + * Ignore test run-pass-valgrind/down-with-thread-dtors.rs . Fails on arm64 + * I am not switching to llvm 3.9 now because a test freezes. The plan is + to silent the warning breaking the build and upload 1.12.1 after + + -- Sylvestre Ledru Wed, 05 Oct 2016 10:48:01 +0200 + +rustc (1.12.0+dfsg1-1) unstable; urgency=medium + + * new upstream release + - Rebase of the patches and removal of deprecated patches + + -- Sylvestre Ledru Thu, 29 Sep 2016 20:45:04 +0200 + +rustc (1.11.0+dfsg1-3) unstable; urgency=medium + + * Fix separate build-arch and build-indep builds. + + -- Ximin Luo Tue, 13 Sep 2016 12:30:41 +0200 + +rustc (1.11.0+dfsg1-2) unstable; urgency=medium + + * Fix rebuilding against the current version, by backporting a patch I wrote + that was already applied upstream. Should fix the FTBFS that was observed + by tests.reproducible-builds.org. + * Ignore a failing stdcall test on arm64; should fix the FTBFS there. + * Backport a doctest fix I wrote, already applied upstream. + + -- Ximin Luo Mon, 12 Sep 2016 17:40:12 +0200 + +rustc (1.11.0+dfsg1-1) unstable; urgency=medium + + * New upstream release + * Add versioned binutils dependency. (Closes: #819475, #823540) + + -- Ximin Luo Wed, 07 Sep 2016 10:31:57 +0200 + +rustc (1.10.0+dfsg1-3) unstable; urgency=medium + + * Rebuild with LLVM 3.8, same as what upstream are using + * Dynamically link against LLVM. (Closes: #832565) + + -- Ximin Luo Sat, 30 Jul 2016 22:36:41 +0200 + +rustc (1.10.0+dfsg1-2) unstable; urgency=medium + + * Tentatively support ARM architectures + * Include upstream arm64,armel,armhf stage0 compilers (i.e. 1.9.0 stable) + in a orig-dl tarball, like how we previously did for amd64,i386. + + -- Ximin Luo Fri, 22 Jul 2016 15:54:51 +0200 + +rustc (1.10.0+dfsg1-1) unstable; urgency=medium + + * New upstream release + * Add myself to uploaders + * Update our build process to bootstrap from the previous Debian rustc stable + version by default. See README.Debian for other options. + * Update to latest Standards-Version; no changes required. + + -- Ximin Luo Sun, 17 Jul 2016 03:40:49 +0200 + +rustc (1.9.0+dfsg1-1) unstable; urgency=medium + + * New upstream release (Closes: #825752) + + -- Sylvestre Ledru Sun, 29 May 2016 17:57:38 +0200 + +rustc (1.8.0+dfsg1-1) unstable; urgency=medium + + * New upstream release + + [ Ximin Luo ] + * Fix using XZ for the orig tarball: needs explicit --repack in debian/watch + * Drop wno-error patch; applied upstream. + + -- Sylvestre Ledru Fri, 15 Apr 2016 12:01:45 +0200 + +rustc (1.7.0+dfsg1-1) unstable; urgency=medium + + * New upstream release + + -- Sylvestre Ledru Thu, 03 Mar 2016 22:41:24 +0100 + +rustc (1.6.0+dfsg1-3) unstable; urgency=medium + + * Apply upstream fix to silent a valgrind issue in the test suite + (Closes: ##812825) + * Add gcc & libc-dev as dependency of rustc to make sure it works + out of the box + + [ Ximin Luo ] + * Work around rust bug https://github.com/rust-lang/rust/issues/31529 + * Enable optional tests, and add verbosity/backtraces to tests + * Use XZ instead of GZ compression (will apply to the next new upload) + + -- Sylvestre Ledru Tue, 02 Feb 2016 15:08:11 +0100 + +rustc (1.6.0+dfsg1-2) unstable; urgency=medium + + * mk/rt.mk: Modify upstream code to append -Wno-error rather than trying + to remove the string "-Werror". (Closes: #812448) + * Disable new gcc-6 "-Wmisleading-indentation" warning, which triggers + (incorrectly) on src/rt/miniz.c. (Closes: #811573) + * Guard arch-dependent dh_install commands appropriately, fixing + arch-indep-only builds. (Closes: #809124) + + -- Angus Lees Tue, 26 Jan 2016 05:40:14 +1100 + +rustc (1.6.0+dfsg1-1) unstable; urgency=medium + + * new upstream release + + [ Ximin Luo ] + * Use secure links for Vcs-* fields. + + -- Sylvestre Ledru Fri, 22 Jan 2016 10:56:08 +0100 + +rustc (1.5.0+dfsg1-1) unstable; urgency=medium + + * New upstream release + - We believe that we should let rust transit to testing + (Closes: #786836) + * Move away from hash to the same rust naming schema + + -- Sylvestre Ledru Thu, 10 Dec 2015 17:23:32 +0100 + +rustc (1.4.0+dfsg1-1) unstable; urgency=medium + + * New upstream release + 198068b3 => 1bf6e69c + * Update the download url in debian/watch + + -- Sylvestre Ledru Fri, 30 Oct 2015 09:36:02 +0100 + +rustc (1.3.0+dfsg1-1) unstable; urgency=medium + + * New upstream release + 62abc69f => 198068b3 + * jquery updated from 2.1.0 to 2.1.4 + + [ Ximin Luo ] + * Use LLVM 3.7 as upstream does, now that it's released. (Closes: #797626) + * Fix debian/copyright syntax mistakes. + * Don't Replace/Break previous versions of libstd-rust-* + * Check that the libstd-rust-* name in d/control matches upstream. + * Several other minor build tweaks. + + -- Sylvestre Ledru Sat, 19 Sep 2015 14:39:35 +0200 + +rustc (1.2.0+dfsg1-1) unstable; urgency=medium + + * New upstream release + libstd-rust-7d23ff90 => libstd-rust-62abc69f + * Add llvm-3.6-tools to the build dep as it is + now needed for tests + * Fix the Vcs-Browser value + + -- Sylvestre Ledru Sat, 08 Aug 2015 23:13:44 +0200 + +rustc (1.1.0+dfsg1-3) unstable; urgency=medium + + * rust-{gdb,lldb} now Replaces pre-split rustc package. + Closes: #793433. + * Several minor lintian cleanups. + + -- Angus Lees Fri, 24 Jul 2015 17:47:48 +1000 + +rustc (1.1.0+dfsg1-2) unstable; urgency=medium + + [ Angus Lees ] + * Replace remote Rust logo with local file in HTML docs. + * Symlink rust-{gdb,lldb}.1 to {gdb,lldb}.1 manpages. + Note that gdb.1 requires the gdb-doc package, and that lldb.1 doesn't + exist yet (see #792908). + * Restore "Architecture: amd64 i386" filter, mistakenly removed in + previous version. Unfortunately the toolchain bootstrap isn't ready + to support all Debian archs yet. Closes: #793147. + + -- Angus Lees Wed, 22 Jul 2015 09:51:08 +1000 + +rustc (1.1.0+dfsg1-1) unstable; urgency=low + + [ Angus Lees ] + * Set SONAME when building dylibs + * Split out libstd-rust, libstd-rust-dev, rust-gdb, rust-lldb from rustc + - libs are now installed into multiarch-friendly locations + - rpath is no longer required to use dylibs (but talk to Debian Rust + maintainers before building a package that depends on the dylibs) + * Install /usr/share/rustc/architecture.mk, which declares Rust arch + triples for Debian archs and is intended to help future Rust packaging + efforts. Warning: it may not be complete/accurate yet. + * New upstream release (1.1) + + -- Angus Lees Thu, 16 Jul 2015 14:23:47 +1000 + +rustc (1.0.0+dfsg1-1) unstable; urgency=medium + + [ Angus Lees ] + * New upstream release (1.0!) + + [ Sylvestre Ledru ] + * Fix the watch file + * Update of the repack to remove llvm sources + + -- Sylvestre Ledru Sat, 16 May 2015 08:24:32 +1000 + +rustc (1.0.0~beta.4-1~exp1) experimental; urgency=low + + [ Angus Lees ] + * New upstream release (beta 3) + - Drop manpage patch - now included upstream + * Replace duplicated compile-time dylibs with symlinks to run-time libs + (reduces installed size by ~68MB) + + [ Sylvestre Ledru ] + * New upstream release (beta 4) + * Replace two more occurrences of jquery by the package + * Repack upstream to remove an LLVM file with a non-DFSG license + + -- Sylvestre Ledru Wed, 06 May 2015 11:14:30 +0200 + +rustc (1.0.0~alpha.2-1~exp1) experimental; urgency=low + + [ Angus Lees ] + * Patch upstream manpages to address minor troff issues + * Make 'debian/rules clean' also clean LLVM source + * Rename primary 'rust' binary package to 'rustc' + * Fix potential FTBFS: rust-doc requires texlive-fonts-recommended (for + pzdr.tfm) + * Build against system LLVM + + [ Sylvestre Ledru ] + * New testing release + * Renaming of the source package + * Set a minimal version for dpkg-dev and debhelper (for profiles) + * For now, disable build profiles as they are not supported in Debian + * Introduce some changes by Angus Lees + - Introduction of build stages + - Disable the parallel execution of tests + - Improving of the parallel syntax + - Use override_dh_auto_build-arch + - Use override_dh_auto_build-indep + - Better declarations of the doc + - Update of the description + - Watch file updated (with key check) + + [ Luca Bruno ] + * rules: respect 'nocheck' DEB_BUILD_OPTIONS + + -- Sylvestre Ledru Sat, 07 Mar 2015 09:25:47 +0100 + +rust (1.0.0~alpha-0~exp1) experimental; urgency=low + + * Initial package (Closes: #689207) + Work done by Luca Bruno, Jordan Justen and Sylvestre Ledru + + -- Sylvestre Ledru Fri, 23 Jan 2015 15:47:37 +0100 diff --git a/check-orig-suspicious.sh b/check-orig-suspicious.sh new file mode 100755 index 0000000000..a168b7866b --- /dev/null +++ b/check-orig-suspicious.sh @@ -0,0 +1,25 @@ +#!/bin/bash +set -e + +ver="$1" +test -n "$ver" || exit 2 +dfsg="$2" +if test -z "$dfsg"; then + dfsg=1 +fi + +SUS_WHITELIST="$(find "${PWD}/debian" -name upstream-tarball-unsuspicious.txt -type f)" + +rm -rf "rustc-${ver/*~*/beta}-src/" +tar xf "../rustc_$ver+dfsg$dfsg.orig.tar.xz" && cd "rustc-${ver/*~*/beta}-src/" +if test -f "../../rustc_$ver+dfsg$dfsg.orig-extra.tar.xz" ; then + tar xf "../../rustc_$ver+dfsg$dfsg.orig-extra.tar.xz" +fi + +../debian/scripts/audit-vendor-source \ + "$SUS_WHITELIST" \ + "Files-Excluded: in debian/copyright and run a repack." \ + -m text/x-script.python \ + -m application/csv + +echo "Artifacts left in rustc-$ver-src, please remove them yourself." diff --git a/config.toml.in b/config.toml.in new file mode 100644 index 0000000000..d68eb04517 --- /dev/null +++ b/config.toml.in @@ -0,0 +1,73 @@ +changelog-seen = 2 + +[build] +submodules = false +vendor = true +locked-deps = false +verbose = VERBOSITY +profiler = PROFILER + +rustc = "RUST_DESTDIR/usr/bin/rustc" +cargo = "RUST_DESTDIR/usr/bin/cargo" + +build = "DEB_BUILD_RUST_TYPE" +host = ["DEB_HOST_RUST_TYPE"] +target = ["DEB_TARGET_RUST_TYPE"] + +#full-bootstrap = true +# originally needed to work around #45317 but no longer necessary +# currently we have to omit it because it breaks #48319 + +# this might get changed later by override_dh_auto_configure-indep +# we do it this way to avoid spurious rebuilds +docs = false + +extended = true +tools = ["cargo", "clippy", "rustfmt", "rustdoc", "rust-analyzer-proc-macro-srv"] + +[install] +prefix = "/usr" + +[target.DEB_BUILD_RUST_TYPE] +llvm-config = "LLVM_DESTDIR/usr/lib/llvm-LLVM_VERSION/bin/llvm-config" +linker = "DEB_BUILD_GNU_TYPE-gcc" + +ifelse(DEB_BUILD_RUST_TYPE,DEB_HOST_RUST_TYPE,, +[target.DEB_HOST_RUST_TYPE] +llvm-config = "LLVM_DESTDIR/usr/lib/llvm-LLVM_VERSION/bin/llvm-config" +linker = "DEB_HOST_GNU_TYPE-gcc" + +)dnl +ifelse(DEB_BUILD_RUST_TYPE,DEB_TARGET_RUST_TYPE,,DEB_HOST_RUST_TYPE,DEB_TARGET_RUST_TYPE,, +[target.DEB_TARGET_RUST_TYPE] +llvm-config = "LLVM_DESTDIR/usr/lib/llvm-LLVM_VERSION/bin/llvm-config" +linker = "DEB_TARGET_GNU_TYPE-gcc" + +)dnl +[target.wasm32-wasi] +wasi-root = "/usr" + +[llvm] +link-shared = true + +[rust] +jemalloc = false +optimize = MAKE_OPTIMISATIONS +dist-src = false + +channel = "RELEASE_CHANNEL" + +# parallel codegen interferes with reproducibility, see +# https://github.com/rust-lang/rust/issues/34902#issuecomment-319463586 +#codegen-units = 0 +debuginfo-level = 2 +debuginfo-level-std = 2 +rpath = false +# see also d-custom-debuginfo-path.patch +remap-debuginfo = true + +omit-git-hash = true +verbose-tests = true +backtrace-on-ice = true + +deny-warnings = false diff --git a/control b/control new file mode 100644 index 0000000000..c06ba05079 --- /dev/null +++ b/control @@ -0,0 +1,431 @@ +Source: rustc +Section: devel +Priority: optional +Maintainer: Debian Rust Maintainers +Uploaders: + Ximin Luo , + Sylvestre Ledru , + Fabian Grünbichler +Rules-Requires-Root: no +# :native annotations are to support cross-compiling, see README.Debian +Build-Depends: + debhelper (>= 9), + debhelper-compat (= 13), + dpkg-dev (>= 1.17.14), + python3:native, + cargo:native (>= 1.73.0+dfsg) , + rustc:native (>= 1.73.0+dfsg) , + rustc:native (<= 1.74.1++) , + llvm-17-dev:native, + llvm-17-tools:native, + gcc-mingw-w64-x86-64-posix:native [amd64] , + gcc-mingw-w64-i686-posix:native [i386] , + libllvm17t64 (>= 1:17.0.0), + libclang-rt-17-dev:native, + cmake (>= 3.0), +# needed by some vendor crates + pkgconf, +# this is sometimes needed by rustc_llvm + zlib1g-dev:native, + zlib1g-dev, +# used by rust-installer + liblzma-dev:native, +# used by cargo + bash-completion, + libcurl4-openssl-dev | libcurl4-gnutls-dev, + libssh2-1-dev, + libssl-dev, + libgit2-dev (>= 1.7.1), + libgit2-dev (<< 1.8~~), + libhttp-parser-dev, +# test dependencies: + binutils (>= 2.26) | binutils-2.26 , +# temporarily disabled cause of #1066794 / t64 transition + git , + procps , +# below are optional tools even for 'make check' + gdb (>= 7.12) , +# Extra build-deps needed for x.py to download stuff in pkg.rustc.dlstage0. + curl , + ca-certificates , +Build-Depends-Indep: + wasi-libc (>= 0.0~git20230821.ec4566b~~) , + wasi-libc (<= 0.0~git20230821.ec4566b++) , + clang-17:native, +Build-Conflicts: gdb-minimal +Standards-Version: 4.6.2 +Homepage: http://www.rust-lang.org/ +Vcs-Git: https://salsa.debian.org/rust-team/rust.git +Vcs-Browser: https://salsa.debian.org/rust-team/rust + +Package: rustc +Architecture: any +Multi-Arch: allowed +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends}, + libstd-rust-dev (= ${binary:Version}), + gcc, libc-dev, binutils (>= 2.26) +Recommends: + cargo (= ${binary:Version}), +# llvm is needed for llvm-dwp for -C split-debuginfo=packed + rust-llvm, +Replaces: libstd-rust-dev (<< 1.25.0+dfsg1-2~~) +Breaks: libstd-rust-dev (<< 1.25.0+dfsg1-2~~) +Description: Rust systems programming language + Rust is a curly-brace, block-structured expression language. It + visually resembles the C language family, but differs significantly + in syntactic and semantic details. Its design is oriented toward + concerns of "programming in the large", that is, of creating and + maintaining boundaries - both abstract and operational - that + preserve large-system integrity, availability and concurrency. + . + It supports a mixture of imperative procedural, concurrent actor, + object-oriented and pure functional styles. Rust also supports + generic programming and meta-programming, in both static and dynamic + styles. + +Package: libstd-rust-1.74 +Section: libs +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Rust standard libraries + Rust is a curly-brace, block-structured expression language. It + visually resembles the C language family, but differs significantly + in syntactic and semantic details. Its design is oriented toward + concerns of "programming in the large", that is, of creating and + maintaining boundaries - both abstract and operational - that + preserve large-system integrity, availability and concurrency. + . + It supports a mixture of imperative procedural, concurrent actor, + object-oriented and pure functional styles. Rust also supports + generic programming and meta-programming, in both static and dynamic + styles. + . + This package contains the standard Rust libraries, built as dylibs, + needed to run dynamically-linked Rust programs (-C prefer-dynamic). + +Package: libstd-rust-dev +Section: libdevel +Architecture: any +Multi-Arch: same +Depends: ${shlibs:Depends}, ${misc:Depends}, + libstd-rust-1.74 (= ${binary:Version}), +Description: Rust standard libraries - development files + Rust is a curly-brace, block-structured expression language. It + visually resembles the C language family, but differs significantly + in syntactic and semantic details. Its design is oriented toward + concerns of "programming in the large", that is, of creating and + maintaining boundaries - both abstract and operational - that + preserve large-system integrity, availability and concurrency. + . + It supports a mixture of imperative procedural, concurrent actor, + object-oriented and pure functional styles. Rust also supports + generic programming and meta-programming, in both static and dynamic + styles. + . + This package contains development files for the standard Rust libraries, + needed to compile Rust programs. It may also be installed on a system + of another host architecture, for cross-compiling to this architecture. + +Package: libstd-rust-dev-windows +Section: libdevel +Architecture: amd64 i386 +Multi-Arch: same +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: + gcc-mingw-w64-x86-64-posix [amd64], + gcc-mingw-w64-i686-posix [i386], +Build-Profiles: +Description: Rust standard libraries - development files + Rust is a curly-brace, block-structured expression language. It + visually resembles the C language family, but differs significantly + in syntactic and semantic details. Its design is oriented toward + concerns of "programming in the large", that is, of creating and + maintaining boundaries - both abstract and operational - that + preserve large-system integrity, availability and concurrency. + . + It supports a mixture of imperative procedural, concurrent actor, + object-oriented and pure functional styles. Rust also supports + generic programming and meta-programming, in both static and dynamic + styles. + . + This package contains the standard Rust libraries including development files, + needed to cross-compile Rust programs to the *-pc-windows-gnu target + corresponding to the architecture of this package. + +Package: libstd-rust-dev-wasm32 +Section: libdevel +Architecture: all +Multi-Arch: foreign +Depends: ${shlibs:Depends}, ${misc:Depends} +# Embeds wasi-libc so doesn't need to depend on it +# None of its licenses require source redistrib, so no need for Built-Using +Recommends: + lld-17, clang-17, +Suggests: +# nodejs contains wasi-node for running the program + nodejs (>= 12.16), +Build-Profiles: +Description: Rust standard libraries - development files + Rust is a curly-brace, block-structured expression language. It + visually resembles the C language family, but differs significantly + in syntactic and semantic details. Its design is oriented toward + concerns of "programming in the large", that is, of creating and + maintaining boundaries - both abstract and operational - that + preserve large-system integrity, availability and concurrency. + . + It supports a mixture of imperative procedural, concurrent actor, + object-oriented and pure functional styles. Rust also supports + generic programming and meta-programming, in both static and dynamic + styles. + . + This package contains the standard Rust libraries including development files, + needed to cross-compile Rust programs to the wasm32-unknown-unknown and + wasm32-wasi targets. + +Package: rust-gdb +Architecture: all +Depends: gdb, ${misc:Depends} +Suggests: gdb-doc +Replaces: rustc (<< 1.1.0+dfsg1-1) +Description: Rust debugger (gdb) + Rust is a curly-brace, block-structured expression language. It + visually resembles the C language family, but differs significantly + in syntactic and semantic details. Its design is oriented toward + concerns of "programming in the large", that is, of creating and + maintaining boundaries - both abstract and operational - that + preserve large-system integrity, availability and concurrency. + . + It supports a mixture of imperative procedural, concurrent actor, + object-oriented and pure functional styles. Rust also supports + generic programming and meta-programming, in both static and dynamic + styles. + . + This package contains pretty printers and a wrapper script for + invoking gdb on rust binaries. + +Package: rust-lldb +Architecture: all +# When updating, also update rust-lldb.links +Depends: lldb-17, ${misc:Depends}, python3-lldb-17 +Replaces: rustc (<< 1.1.0+dfsg1-1) +Description: Rust debugger (lldb) + Rust is a curly-brace, block-structured expression language. It + visually resembles the C language family, but differs significantly + in syntactic and semantic details. Its design is oriented toward + concerns of "programming in the large", that is, of creating and + maintaining boundaries - both abstract and operational - that + preserve large-system integrity, availability and concurrency. + . + It supports a mixture of imperative procedural, concurrent actor, + object-oriented and pure functional styles. Rust also supports + generic programming and meta-programming, in both static and dynamic + styles. + . + This package contains pretty printers and a wrapper script for + invoking lldb on rust binaries. + +Package: rust-llvm +Architecture: all +Breaks: + rustc (<< 1.71.1+dfsg1-1~exp1), + rustc-web (<< 1.71.1+dfsg1-1~exp1), + rustc-mozilla (<< 1.71.1+dfsg1-1~exp1), +Replaces: + rustc (<< 1.71.1+dfsg1-1~exp1), + rustc-web (<< 1.71.1+dfsg1-1~exp1), + rustc-mozilla (<< 1.71.1+dfsg1-1~exp1), +Depends: + ${misc:Depends}, +# lld and clang are needed for wasm compilation + lld-17, clang-17, +# llvm is needed for llvm-dwp for split-debuginfo=packed + llvm-17 +Description: Rust LLVM integration + Rust is a curly-brace, block-structured expression language. It + visually resembles the C language family, but differs significantly + in syntactic and semantic details. Its design is oriented toward + concerns of "programming in the large", that is, of creating and + maintaining boundaries - both abstract and operational - that + preserve large-system integrity, availability and concurrency. + . + It supports a mixture of imperative procedural, concurrent actor, + object-oriented and pure functional styles. Rust also supports + generic programming and meta-programming, in both static and dynamic + styles. + . + This package contains symlinks for integration with LLVM tools such as lld and + grcov. + +Package: rust-doc +Section: doc +Architecture: all +Build-Profiles: +Depends: ${misc:Depends}, + libjs-jquery, libjs-highlight.js, libjs-mathjax, + fonts-open-sans, fonts-font-awesome +Recommends: cargo-doc +Description: Rust systems programming language - Documentation + Rust is a curly-brace, block-structured expression language. It + visually resembles the C language family, but differs significantly + in syntactic and semantic details. Its design is oriented toward + concerns of "programming in the large", that is, of creating and + maintaining boundaries - both abstract and operational - that + preserve large-system integrity, availability and concurrency. + . + It supports a mixture of imperative procedural, concurrent actor, + object-oriented and pure functional styles. Rust also supports + generic programming and meta-programming, in both static and dynamic + styles. + . + This package contains the Rust tutorial, language reference and + standard library documentation. + +Package: rust-src +Architecture: all +Depends: ${misc:Depends} +Description: Rust systems programming language - source code + Rust is a curly-brace, block-structured expression language. It + visually resembles the C language family, but differs significantly + in syntactic and semantic details. Its design is oriented toward + concerns of "programming in the large", that is, of creating and + maintaining boundaries - both abstract and operational - that + preserve large-system integrity, availability and concurrency. + . + It supports a mixture of imperative procedural, concurrent actor, + object-oriented and pure functional styles. Rust also supports + generic programming and meta-programming, in both static and dynamic + styles. + . + This package contains sources of the Rust compiler and standard + libraries, useful for IDEs and code analysis tools such as Racer. + +Package: rust-clippy +Architecture: any +Multi-Arch: allowed +Depends: ${misc:Depends}, ${shlibs:Depends}, + libstd-rust-1.74 (= ${binary:Version}) +Recommends: cargo +Description: Rust linter + Rust is a curly-brace, block-structured expression language. It + visually resembles the C language family, but differs significantly + in syntactic and semantic details. Its design is oriented toward + concerns of "programming in the large", that is, of creating and + maintaining boundaries - both abstract and operational - that + preserve large-system integrity, availability and concurrency. + . + It supports a mixture of imperative procedural, concurrent actor, + object-oriented and pure functional styles. Rust also supports + generic programming and meta-programming, in both static and dynamic + styles. + . + This package contains 'clippy', a linter to catch common mistakes and improve + your Rust code as well a collection of over 400 compatible lints. + . + Lints are divided into categories, each with a default lint level. You can + choose how much Clippy is supposed to annoy help you by changing the lint + level by category. + . + Clippy is integrated into the 'cargo' build tool, available via 'cargo clippy'. + +Package: rustfmt +Architecture: any +Multi-Arch: allowed +Depends: ${misc:Depends}, ${shlibs:Depends}, +Recommends: cargo +Description: Rust formatting helper + Rust is a curly-brace, block-structured expression language. It + visually resembles the C language family, but differs significantly + in syntactic and semantic details. Its design is oriented toward + concerns of "programming in the large", that is, of creating and + maintaining boundaries - both abstract and operational - that + preserve large-system integrity, availability and concurrency. + . + It supports a mixture of imperative procedural, concurrent actor, + object-oriented and pure functional styles. Rust also supports + generic programming and meta-programming, in both static and dynamic + styles. + . + This package contains 'rustfmt', a tool for formatting Rust code according to + style guidelines, as well as 'cargo-fmt', a helper enabling running rustfmt + directly with 'cargo fmt'. + +Package: rust-all +Architecture: all +Depends: ${misc:Depends}, ${shlibs:Depends}, + rustc (>= ${binary:Version}), + rustfmt (>= ${binary:Version}), + rust-clippy (>= ${binary:Version}), + rust-gdb (>= ${binary:Version}) | rust-lldb (>= ${binary:Version}), + cargo, +Recommends: + cargo (= ${binary:Version}) +Suggests: + rust-doc (>= ${binary:Version}), + rust-src (>= ${binary:Version}), + libstd-rust-dev-wasm32 (>= ${binary:Version}), + libstd-rust-dev-windows (>= ${binary:Version}), +Description: Rust systems programming language - all developer tools + Rust is a curly-brace, block-structured expression language. It + visually resembles the C language family, but differs significantly + in syntactic and semantic details. Its design is oriented toward + concerns of "programming in the large", that is, of creating and + maintaining boundaries - both abstract and operational - that + preserve large-system integrity, availability and concurrency. + . + It supports a mixture of imperative procedural, concurrent actor, + object-oriented and pure functional styles. Rust also supports + generic programming and meta-programming, in both static and dynamic + styles. + . + This package is an empty metapackage that depends on all developer tools + in the standard rustc distribution that have been packaged for Debian. + +# Cargo binaries +Package: cargo +Architecture: any +Multi-Arch: allowed +Depends: ${shlibs:Depends}, ${misc:Depends}, + rustc (= ${binary:Version}), + binutils, + gcc | clang | c-compiler +Suggests: cargo-doc, python3 +Description: Rust package manager + Cargo is a tool that allows Rust projects to declare their various + dependencies, and ensure that you'll always get a repeatable build. + . + To accomplish this goal, Cargo does four things: + * Introduces two metadata files with various bits of project information. + * Fetches and builds your project's dependencies. + * Invokes rustc or another build tool with the correct parameters to build + your project. + * Introduces conventions, making working with Rust projects easier. + . + Cargo downloads your Rust project’s dependencies and compiles your + project. + +Package: cargo-doc +Section: doc +Architecture: all +Build-Profiles: +Recommends: rust-doc +Depends: ${misc:Depends} +Description: Rust package manager, documentation + Cargo is a tool that allows Rust projects to declare their various + dependencies, and ensure that you'll always get a repeatable build. + . + To accomplish this goal, Cargo does four things: + * Introduces two metadata files with various bits of project information. + * Fetches and builds your project's dependencies. + * Invokes rustc or another build tool with the correct parameters to build + your project. + * Introduces conventions, making working with Rust projects easier. + . + Cargo downloads your Rust project’s dependencies and compiles your + project. + . + This package contains the documentation. + +# TODO: add a cargo-src package diff --git a/copyright b/copyright new file mode 100644 index 0000000000..6e55fd7b97 --- /dev/null +++ b/copyright @@ -0,0 +1,3434 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: rust +Source: https://www.rust-lang.org +Files-Excluded: + .gitmodules + *.min.js + src/llvm-project +# Pre-generated docs + src/tools/rustfmt/docs +# Fonts already in Debian, covered by d-0003-mdbook-strip-embedded-libs.patch + vendor/mdbook/src/theme/fonts + vendor/mdbook/src/theme/FontAwesome + vendor/mdbook/src/theme/highlight.js + vendor/mdbook/src/theme/highlight.css +# DOCX versions of TRPL book prepared for No Starch Press + src/doc/book/nostarch/docx +# Exclude submodules https://github.com/rust-lang/rust/tree/master/src/tools +# We prefer to do them in different Debian packages so they can have their own +# version numbers. If upstream merges them "properly" (i.e. unify the version +# numbers) then we can merge the packages in Debian. Note that cargotest here +# does actually belong to rustc, it is an integration test suite for rustc to +# check that certain popular crates continue to compile. It is not the same as +# cargo's own test suite (in its own package) also called cargotest. +# NB: don't exclude rust-installer, it's needed for "install" functionality +#src/tools/cargo + src/tools/rls + src/tools/remote-test-client + src/tools/remote-test-server + src/tools/miri +# rust-analyzer parts we don't need (yet) + src/tools/rust-analyzer/editors + src/tools/rust-analyzer/.github +# Embedded GH pages + src/tools/clippy/util/gh-pages +# Embedded C libraries + vendor/lzma-sys*/xz-* + vendor/libgit2-sys/libgit2 + vendor/libssh2-sys/libssh2 + vendor/curl-sys/curl + vendor/libz-sys/src/zlib* +# Embedded binary blobs + vendor/jsonpath_lib/docs + vendor/mdbook/src/theme/playground_editor + vendor/psm/src/arch/wasm32.o + vendor/rustix-*/src/backend/linux_raw/arch/outline/*/*.a +# test binary files + vendor/libloading-0.7.4/tests/*.dll + vendor/libloading/tests/*.dll +# Misc + vendor/*/icon_CLion.svg + vendor/prettydiff/screens/*.png + vendor/wasm-bindgen/guide + vendor/wasm-bindgen/examples/import_js/index.js + vendor/wasm-bindgen/examples/import_js/webpack.config.js +# unused dependencies, generated by debian/prune-unused-deps +# DO NOT EDIT below, AUTOGENERATED + vendor/addr2line-0.19.0 + vendor/aho-corasick-0.7.18 + vendor/anstream-0.5.0 + vendor/anstyle-1.0.0 + vendor/anstyle-1.0.1 + vendor/anstyle-parse-0.2.0 + vendor/anstyle-wincon-2.1.0 + vendor/anstyle-wincon + vendor/anyhow-1.0.66 + vendor/anyhow-1.0.71 + vendor/anymap + vendor/arbitrary + vendor/backtrace-0.3.67 + vendor/base64-0.21.2 + vendor/bitflags-2.3.2 + vendor/bitflags-2.3.3 + vendor/block-buffer-0.10.2 + vendor/bstr-0.2.17 + vendor/bstr-1.5.0 + vendor/bumpalo-3.11.1 + vendor/cc-1.0.73 + vendor/chalk-derive + vendor/chalk-ir + vendor/chalk-recursive + vendor/chalk-solve + vendor/clap-4.2.4 + vendor/clap-4.4.4 + vendor/clap_builder-4.2.4 + vendor/clap_builder-4.4.4 + vendor/clap_complete-4.2.2 + vendor/clap_derive-4.2.0 + vendor/clap_lex-0.4.1 + vendor/command-group + vendor/core-foundation-sys-0.8.3 + vendor/cpufeatures-0.2.5 + vendor/cpufeatures-0.2.7 + vendor/cranelift-bforest + vendor/cranelift-codegen + vendor/cranelift-codegen-meta + vendor/cranelift-codegen-shared + vendor/cranelift-control + vendor/cranelift-entity + vendor/cranelift-frontend + vendor/cranelift-isle + vendor/cranelift-jit + vendor/cranelift-module + vendor/cranelift-native + vendor/cranelift-object + vendor/crossbeam-channel-0.5.6 + vendor/crossbeam-deque-0.8.2 + vendor/crossbeam-epoch-0.9.13 + vendor/crossbeam-utils-0.8.14 + vendor/crypto-common-0.1.3 + vendor/ctrlc + vendor/curl-sys-0.4.63+curl-8.1.2 + vendor/derive_arbitrary + vendor/diff-0.1.12 + vendor/digest-0.10.3 + vendor/directories + vendor/dot + vendor/either-1.6.1 + vendor/encode_unicode + vendor/encoding_rs-0.8.32 + vendor/equivalent-1.0.0 + vendor/errno-0.3.0 + vendor/fallible-iterator-0.2.0 + vendor/filetime-0.2.16 + vendor/filetime-0.2.21 + vendor/fixedbitset + vendor/flate2-1.0.26 + vendor/fsevent-sys + vendor/fst + vendor/generic-array-0.14.5 + vendor/gimli-0.27.2 + vendor/gimli-0.27.3 + vendor/globset-0.4.10 + vendor/globset-0.4.8 + vendor/hashbrown-0.13.2 + vendor/heck-0.3.3 + vendor/hermit-abi-0.2.6 + vendor/hkalbasi-rustc-ap-rustc_abi + vendor/hkalbasi-rustc-ap-rustc_index + vendor/ignore-0.4.18 + vendor/inotify + vendor/inotify-sys + vendor/is-terminal-0.4.8 + vendor/itoa-1.0.2 + vendor/jemalloc-sys + vendor/junction + vendor/kqueue + vendor/kqueue-sys + vendor/libc-0.2.138 + vendor/libc-0.2.140 + vendor/libc-0.2.146 + vendor/libffi + vendor/libffi-sys + vendor/libmimalloc-sys + vendor/libnghttp2-sys + vendor/linked-hash-map + vendor/linux-raw-sys-0.4.5 + vendor/log-0.4.17 + vendor/lzma-sys-0.1.17 + vendor/mach + vendor/memchr-2.5.0 + vendor/memoffset-0.7.1 + vendor/mimalloc + vendor/miniz_oxide-0.6.2 + vendor/mio-0.8.5 + vendor/miow-0.5.0 + vendor/miow + vendor/nix + vendor/normpath + vendor/notify + vendor/ntapi-0.4.0 + vendor/ntapi + vendor/num_cpus-1.13.1 + vendor/num_cpus-1.15.0 + vendor/object-0.30.4 + vendor/once_cell-1.12.0 + vendor/once_cell-1.16.0 + vendor/opener-0.5.0 + vendor/openssl-0.10.55 + vendor/openssl-src + vendor/openssl-sys-0.9.90 + vendor/parking_lot_core-0.9.6 + vendor/paste + vendor/pest-2.6.0 + vendor/pest_derive-2.6.0 + vendor/pest_generator-2.6.0 + vendor/pest_meta-2.6.0 + vendor/petgraph + vendor/pin-project-lite-0.2.9 + vendor/pkg-config-0.3.25 + vendor/proc-macro2-1.0.60 + vendor/proc-macro2-1.0.63 + vendor/protobuf + vendor/protobuf-support + vendor/pulldown-cmark-to-cmark + vendor/quote-1.0.26 + vendor/quote-1.0.28 + vendor/quote-1.0.29 + vendor/ra-ap-rustc_index + vendor/ra-ap-rustc_parse_format + vendor/rayon-1.6.0 + vendor/rayon-core-1.10.1 + vendor/redox_syscall-0.2.13 + vendor/regalloc2 + vendor/regex-1.5.6 + vendor/regex-syntax-0.6.26 + vendor/region + vendor/rustc-build-sysroot + vendor/rustix-0.38.6 + vendor/ryu-1.0.10 + vendor/salsa + vendor/salsa-macros + vendor/schannel + vendor/scip + vendor/security-framework-2.9.1 + vendor/semver-1.0.17 + vendor/serde-1.0.156 + vendor/serde-1.0.160 + vendor/serde-1.0.185 + vendor/serde_derive-1.0.156 + vendor/serde_derive-1.0.160 + vendor/serde_derive-1.0.185 + vendor/serde_json-1.0.81 + vendor/serde_json-1.0.97 + vendor/serde_json-1.0.99 + vendor/sha2-0.10.2 + vendor/slice-group-by + vendor/smallvec-1.10.0 + vendor/syn-2.0.18 + vendor/syn-2.0.8 + vendor/target-lexicon + vendor/thiserror-1.0.40 + vendor/thiserror-impl-1.0.40 + vendor/thread_local-1.1.4 + vendor/tikv-jemallocator + vendor/tikv-jemalloc-ctl + vendor/tikv-jemalloc-sys + vendor/time-0.3.22 + vendor/time-core-0.1.1 + vendor/time-macros-0.2.9 + vendor/toml-0.5.9 + vendor/toml-0.7.5 + vendor/toml_edit-0.19.11 + vendor/tracing-tree-0.2.3 + vendor/typed-arena + vendor/typenum-1.15.0 + vendor/ui_test + vendor/unicase-2.6.0 + vendor/unicode-ident-1.0.0 + vendor/url-2.4.0 + vendor/walkdir-2.3.2 + vendor/wasmtime-jit-icache-coherence + vendor/web-sys-0.3.61 + vendor/winapi + vendor/winapi-i686-pc-windows-gnu + vendor/winapi-util + vendor/winapi-x86_64-pc-windows-gnu + vendor/windows-0.46.0 + vendor/windows_aarch64_gnullvm-0.42.2 + vendor/windows_aarch64_gnullvm + vendor/windows_aarch64_msvc-0.42.2 + vendor/windows_aarch64_msvc + vendor/windows + vendor/windows_i686_gnu-0.42.2 + vendor/windows_i686_gnu + vendor/windows_i686_msvc-0.42.2 + vendor/windows_i686_msvc + vendor/windows-sys-0.42.0 + vendor/windows-sys-0.45.0 + vendor/windows-sys + vendor/windows-targets-0.42.2 + vendor/windows-targets-0.48.0 + vendor/windows-targets + vendor/windows_x86_64_gnu-0.42.2 + vendor/windows_x86_64_gnu + vendor/windows_x86_64_gnullvm-0.42.2 + vendor/windows_x86_64_gnullvm + vendor/windows_x86_64_msvc-0.42.2 + vendor/windows_x86_64_msvc + vendor/winnow-0.4.7 + vendor/winreg + vendor/xz2-0.1.6 + vendor/yaml-merge-keys + vendor/yaml-rust +# DO NOT EDIT above, AUTOGENERATED + +Files: C*.md + R*.md + Cargo.lock + Cargo.toml + COPYRIGHT + LICENSE* + compiler/* + configure + config.example.toml + git-commit-hash + git-commit-info + library/* + src/README.md + src/bootstrap/* + src/ci/* + src/doc/* + src/etc/* + src/lib* + src/rust* + src/stage0.json + src/tools/* + src/version + tests/* + version + x.py + .cargo/config.toml +Copyright: 2006-2009 Graydon Hoare + 2009-2012 Mozilla Foundation + 2012-2017 The Rust Project Developers (see AUTHORS.txt) +License: MIT or Apache-2.0 + +Files: src/librustdoc/html/static/fonts/FiraSans* +Copyright: 2014, Mozilla Foundation, 2014, Telefonica S.A. +License: SIL-OPEN-FONT + +Files: src/librustdoc/html/static/fonts/NanumBarun* +Copyright: 2010 NAVER Corporation +License: SIL-OPEN-FONT + +Files: src/librustdoc/html/static/fonts/SourceCodePro* +Copyright: 2010, 2012 Adobe Systems Incorporated +License: SIL-OPEN-FONT + +Files: src/librustdoc/html/static/fonts/SourceSerif4* +Copyright: 2014-2021 Adobe Systems Incorporated +License: SIL-OPEN-FONT + +Files: vendor/compiler_builtins/* +Copyright: 2016-2019 Jorge Aparicio +License: MIT or Apache-2.0 +Comment: see https://github.com/rust-lang-nursery/compiler-builtins + +Files: vendor/ahash/* +Copyright: 2019-2022 Tom Kaitchuck +License: MIT OR Apache-2.0 +Comment: see https://github.com/tkaitchuck/ahash + +Files: vendor/android_system_properties/* +Copyright: 2022-2022 Nicolas Silva +License: MIT or Apache-2.0 +Comment: see https://github.com/nical/android_system_properties + +Files: vendor/anes/* +Copyright: 2019-2023 Robert Vojta +License: MIT OR Apache-2.0 +Comment: see https://github.com/zrzka/anes-rs + +Files: vendor/ansi_term/* +Copyright: 2014-2019 ogham@bsago.me + 2014-2019 Ryan Scheel (Havvy) + 2014-2019 Josh Triplett +License: MIT +Comment: see https://github.com/ogham/rust-ansi-term + +Files: + vendor/anstream/* + vendor/anstyle/* + vendor/anstyle-parse/* + vendor/anstyle-query/* + vendor/colorchoice/* +Copyright: 2023-2024 Ed Page +License: MIT or Apache-2.0 +Comment: see https://github.com/rust-cli/anstyle + +Files: vendor/ar_archive_writer/* +Copyright: 2003-2017 University of Illinois at Urbana-Champaign. +License: Apache-2.0 with LLVM exception +Comment: + see https://github.com/rust-lang/ar_archive_writer + derived from LLVM code + +Files: vendor/askama*/* +Copyright: 2016-2022 Dirkjan Ochtman +License: MIT OR Apache-2.0 +Comment: see https://github.com/djc/askama + +Files: + vendor/bitflags/* + vendor/bitflags-1.*/* + vendor/cc/* + vendor/cmake/* + vendor/env_logger/* + vendor/env_logger-0.*/* + vendor/getopts/* + vendor/glob/* + vendor/libc/* + vendor/log/* + vendor/regex/* + vendor/regex-syntax/* + vendor/regex-syntax-0.*/* + vendor/rustc-hash/* + vendor/time/* +Copyright: 2010-2021 The Rust Project Developers +License: MIT or Apache-2.0 +Comment: + This is a collection of external crates embedded here to bootstrap cargo. + Most of them come from the original upstream Rust project, thus share the + same MIT/Apache-2.0 dual-license. See https://github.com/rust-lang. + Exceptions are noted below. + +Files: + vendor/time-core/* +Copyright: 2019-2023 Jacob Pratt + 2019-2023 Time contributors +License: MIT OR Apache-2.0 +Comment: see https://github.com/time-rs/time + +Files: + vendor/core-foundation/* + vendor/core-foundation-sys/* +Copyright: 2012-2024 The Servo Project Developers +License: MIT or Apache-2.0 +Comment: see https://github.com/servo/core-foundation-rs + +Files: vendor/num-traits/* +Copyright: 2014-2018 The Rust Project Developers +License: MIT or Apache-2.0 +Comment: see https://github.com/rust-num/num + +Files: + vendor/string_cache/* + vendor/string_cache_codegen/* + vendor/unicode-bidi/* +Copyright: 2015-2017 Alex Crichton + 2015-2017 Keegan McAllister + 2015-2017 Chris Morgan + 2014-2017 The html5ever Project Developers + 2014-2017 The Servo Project Developers + 2013-2017 Simon Sapin +License: MIT or Apache-2.0 +Comment: see https://github.com/servo/ + +Files: + vendor/getrandom/* + vendor/rand/* + vendor/rand_chacha/* + vendor/rand_core/* + vendor/rand_xorshift/* + vendor/rand_xoshiro/* +Copyright: 2010-2019 The Rand Project Developers + 2010-2019 The Rust Project Developers +License: MIT or Apache-2.0 +Comment: + see https://github.com/rust-random/getrandom + see https://github.com/rust-random/rand + see https://github.com/rust-random/small-rngs + +Files: + vendor/cfg-if/* + vendor/filetime/* + vendor/flate2/* + vendor/fnv/* + vendor/jobserver/* + vendor/lzma-sys/* + vendor/pkg-config/* + vendor/proc-macro2/* + vendor/rustc-demangle/* + vendor/scoped-tls/* + vendor/tar/* + vendor/toml-0*/* + vendor/xz2/* +Copyright: 2014-2020 Alex Crichton + 2015-2017 The Rust Project Developers +License: MIT or Apache-2.0 +Comment: see https://github.com/alexcrichton/ + +Files: vendor/dlmalloc/* +Copyright: 2017-2019 Alex Crichton +License: MIT or Apache-2.0 +Comment: see https://github.com/alexcrichton/dlmalloc-rs + +Files: vendor/dlmalloc/src/dlmalloc.c +Copyright: 2000-2012 Doug Lea +License: CC0-1.0 + +Files: vendor/tester/* +Copyright: 2016-2019 The Rust Project Developers +License: MIT OR Apache-2.0 +Comment: see https://github.com/messense/rustc-test + +Files: vendor/addr2line/* +Copyright: + 2016-2021 Nick Fitzgerald + 2016-2021 Philip Craig + 2016-2021 Jon Gjengset + 2016-2021 Noah Bergbauer +License: Apache-2.0 or MIT +Comment: see https://github.com/gimli-rs/addr2line + +Files: + vendor/adler/* +Copyright: 2020-2021 Jonas Schievink +License: 0BSD or MIT or Apache-2.0 +Comment: see https://github.com/jonas-schievink/adler.git + +Files: vendor/allocator-api2/* +Copyright: 2023-2024 Zakarum +License: MIT OR Apache-2.0 +Comment: see https://github.com/zakarumych/allocator-api2 + +Files: vendor/always-assert/* +Copyright: 2021-2021 Aleksey Kladov +License: MIT OR Apache-2.0 +Comment: see https://github.com/matklad/always-assert + +Files: vendor/ammonia/* +Copyright: 2015-2018 Michael Howell +License: MIT or Apache-2.0 +Comment: see https://github.com/notriddle/ammonia + +Files: vendor/android-tzdata/* +Copyright: 2023-2023 RumovZ +License: MIT OR Apache-2.0 +Comment: see https://github.com/RumovZ/android-tzdata + +Files: + vendor/annotate-snippets/* +Copyright: 2018-2020 Zibi Braniecki +License: Apache-2.0 or MIT +Comment: see https://github.com/zbraniecki/annotate-snippets-rs + +Files: vendor/aho-corasick/* + vendor/aho-corasick-0.*/* + vendor/memchr/* +Copyright: 2015 Andrew Gallant + 2015-2018 bluss +License: MIT or Unlicense +Comment: see upstream projects, + * https://github.com/BurntSushi/aho-corasick + * https://github.com/BurntSushi/rust-memchr + +Files: vendor/arc-swap/* +Copyright: 2018-2024 Michal 'vorner' Vaner +License: MIT OR Apache-2.0 +Comment: see https://github.com/vorner/arc-swap + +Files: vendor/array_tool/* +Copyright: 2015-2018 Daniel P. Clark <6ftdan@gmail.com> +License: MIT OR Apache-2.0 +Comment: see https://github.com/danielpclark/array_tool + +Files: vendor/autocfg/* +Copyright: 2018-2020 Josh Stone +License: Apache-2.0 or MIT + +Files: vendor/atty/* +Copyright: 2015-2017 softprops +License: MIT +Comment: see https://github.com/softprops/atty + +Files: vendor/backtrace/* +Copyright: 2015-2022 The Rust Project Developers +License: MIT or Apache-2.0 +Comment: see https://github.com/rust-lang/backtrace-rs + +Files: vendor/base64/* +Copyright: 2015-2024 Alice Maz + 2015-2024 Marshall Pierce +License: MIT OR Apache-2.0 +Comment: see https://github.com/marshallpierce/rust-base64 + +Files: vendor/basic-toml/* +Copyright: 2014-2023 Alex Crichton + 2014-2023 David Tolnay +License: MIT OR Apache-2.0 +Comment: see https://github.com/dtolnay/basic-toml + +Files: vendor/bincode/* +Copyright: 2014-2024 Ty Overby + 2014-2024 Francesco Mazzoli + 2014-2024 David Tolnay + 2014-2024 Zoey Riordan +License: MIT +Comment: see https://github.com/servo/bincode + +Files: vendor/bitmaps/* +Copyright: 2019-2024 Bodil Stokke +License: MPL-2.0+ +Comment: see https://github.com/bodil/bitmaps + +Files: vendor/bit-set/* +Copyright: 2015-2023 Alexis Beingessner +License: MIT or Apache-2.0 +Comment: see https://github.com/contain-rs/bit-set + +Files: vendor/bit-vec/* +Copyright: 2015-2023 Alexis Beingessner +License: MIT or Apache-2.0 +Comment: see https://github.com/contain-rs/bit-vec + +Files: + vendor/base16ct/* + vendor/base64ct/* + vendor/block-buffer/* + vendor/const-oid/* + vendor/cpufeatures/* + vendor/crypto-bigint/* + vendor/crypto-common/* + vendor/der/* + vendor/digest/* + vendor/ecdsa/* + vendor/elliptic-curve/* + vendor/hkdf/* + vendor/hmac/* + vendor/md-5/* + vendor/p384/* + vendor/pem-rfc7468/* + vendor/pkcs8/* + vendor/primeorder/* + vendor/rfc6979/* + vendor/sec1/* + vendor/sha1/* + vendor/sha2/* + vendor/signature/* + vendor/spki/* + vendor/zeroize/* +Copyright: 2015-2024 RustCrypto Developers +License: MIT or Apache-2.0 +Comment: + see https://github.com/RustCrypto/elliptic-curves + see https://github.com/RustCrypto/formats + see https://github.com/RustCrypto/hashes + see https://github.com/RustCrypto/signatures + see https://github.com/RustCrypto/traits + see https://github.com/RustCrypto/utils + see https://github.com/RustCrypto/KDFs + see https://github.com/RustCrypto/MACs + +Files: vendor/bstr/* +Copyright: 2018-2024 Andrew Gallant +License: MIT OR Apache-2.0 +Comment: see https://github.com/BurntSushi/bstr + +Files: vendor/btoi/* +Copyright: 2017-2023 Niklas Fiekas +License: MIT OR Apache-2.0 +Comment: see https://github.com/niklasf/rust-btoi + +Files: vendor/bumpalo/* +Copyright: 2018-2024 Nick Fitzgerald +License: MIT or Apache-2.0 +Comment: see https://github.com/fitzgen/bumpalo + +Files: vendor/bytecount/* +Copyright: 2016-2020 Andre Bogus + 2016-2020 Joshua Landau +License: Apache-2.0 or MIT +Comment: see https://github.com/llogiq/bytecount + +Files: vendor/byteorder/* +Copyright: 2015-2023 Andrew Gallant +License: Unlicense OR MIT +Comment: see https://github.com/BurntSushi/byteorder + +Files: vendor/bytesize/* +Copyright: 2015-2023 Hyunsik Choi +License: Apache-2.0 +Comment: see https://github.com/hyunsik/bytesize/ + +Files: vendor/byteyarn/* +Copyright: 2023-2024 Miguel Young de la Sota +License: Apache-2.0 +Comment: see https://github.com/mcy/byteyarn + +Files: + vendor/globset/* + vendor/ignore/* + vendor/same-file/* + vendor/termcolor/* + vendor/walkdir/* +Copyright: 2015-2020 Andrew Gallant +License: Unlicense or MIT +Comment: + see https://github.com/BurntSushi/same-file + see https://github.com/BurntSushi/walkdir + see https://github.com/BurntSushi/winapi-util + see https://github.com/BurntSushi/ripgrep/tree/master/globset + see https://github.com/BurntSushi/ripgrep/tree/master/ignore + see https://github.com/BurntSushi/ripgrep/tree/master/termcolor + +Files: vendor/camino/* +Copyright: 2020-2022 Without Boats + 2020-2022 Ashley Williams + 2020-2022 Steve Klabnik + 2020-2022 Rain +License: MIT OR Apache-2.0 +Comment: see https://github.com/withoutboats/camino + +Files: + vendor/cargo_metadata/* + vendor/cargo_metadata-0.*/* +Copyright: 2016-2020 Oliver Schneider +License: MIT +Comment: + see https://github.com/oli-obk/cargo_metadata + +Files: vendor/cargo-platform/* +Copyright: 2019-2022 The Cargo Project Developers +License: MIT OR Apache-2.0 +Comment: see https://github.com/rust-lang/cargo + +Files: vendor/cast/* +Copyright: 2014-2021 Jorge Aparicio +License: MIT OR Apache-2.0 +Comment: see https://github.com/japaric/cast.rs + +Files: vendor/ppv-lite86/* +Copyright: 2019-2019 The CryptoCorrosion Contributors +License: MIT or Apache-2.0 +Comment: see https://github.com/cryptocorrosion/cryptocorrosion + +Files: vendor/chrono/* +Copyright: 2014-2018 Kang Seonghoon +License: MIT or Apache-2.0 +Comment: see https://github.com/chronotope/chrono + +Files: + vendor/ciborium/* + vendor/ciborium-io/* + vendor/ciborium-ll/* +Copyright: 2020-2024 Nathaniel McCallum +License: Apache-2.0 +Comment: see https://github.com/enarx/ciborium + +Files: + vendor/clap/* + vendor/clap_builder/* + vendor/clap_complete/* + vendor/clap_derive/* + vendor/clap_lex/* +Copyright: 2015-2022 Kevin K. +License: MIT +Comment: see https://github.com/clap-rs/clap + +Files: vendor/clru/* +Copyright: 2020-2023 marmeladema +License: MIT +Comment: see https://github.com/marmeladema/clru-rs + +Files: vendor/color-eyre/* +Copyright: 2020-2023 Jane Lusby +License: MIT OR Apache-2.0 +Comment: see https://github.com/yaahc/color-eyre + +Files: vendor/color-spantrace/* +Copyright: 2020-2024 Jane Lusby +License: MIT OR Apache-2.0 +Comment: see https://github.com/yaahc/color-spantrace + +Files: vendor/colored/* +Copyright: 2016-2020 Thomas Wickham +License: MPL-2.0 +Comment: see https://github.com/mackwic/colored + +Files: + vendor/color-print/* + vendor/color-print-proc-macro/* +Copyright: 2021-2024 Johann David +License: MIT OR Apache-2.0 +Comment: see https://gitlab.com/yolenoyer/color-print + +Files: vendor/comma/* +Copyright: 2019-2023 Ethan McTague +License: MIT +Comment: see https://github.com/emctague/comma + +Files: + vendor/console/* + vendor/indicatif/* +Copyright: 2017-2024 Armin Ronacher +License: MIT +Comment: + see https://github.com/console-rs/console + see https://github.com/console-rs/indicatif + +Files: vendor/content_inspector/* +Copyright: 2018-2018 David Peter +License: MIT or Apache-2.0 +Comment: see https://github.com/sharkdp/content_inspector + +Files: vendor/convert_case/* +Copyright: 2020-2022 David Purdum +License: MIT +Comment: see https://github.com/rutrum/convert-case + +Files: vendor/countme/* +Copyright: 2021-2022 Aleksey Kladov +License: MIT OR Apache-2.0 +Comment: see https://github.com/matklad/countme + +Files: vendor/cov-mark/* +Copyright: 2020-2021 Aleksey Kladov + 2020-2021 Simonas Kazlauskas +License: MIT OR Apache-2.0 +Comment: see https://github.com/matklad/cov-mark + +Files: vendor/crc32fast/* +Copyright: 2018-2019 Sam Rijs + 2018-2019 Alex Crichton +License: MIT OR Apache-2.0 +Comment: see https://github.com/srijs/rust-crc32fast + +Files: + vendor/criterion/* + vendor/criterion-plot/* +Copyright: 2014-2024 Jorge Aparicio + 2014-2024 Brook Heisler +License: Apache-2.0 or MIT +Comment: see https://github.com/bheisler/criterion.rs + +Files: + vendor/crossbeam-channel/* + vendor/crossbeam-deque/* + vendor/crossbeam-epoch/* + vendor/crossbeam-utils/* +Copyright: 2015-2022 The Crossbeam Project Developers +License: MIT or Apache-2.0 +Comment: see https://github.com/crossbeam-rs + +Files: vendor/cstr/* +Copyright: 2018-2020 Xidorn Quan +License: MIT +Comment: see https://github.com/upsuper/cstr + +Files: vendor/ct-codecs/* +Copyright: 2020-2022 Frank Denis +License: MIT +Comment: see https://github.com/jedisct1/rust-ct-codecs + +Files: + vendor/curl/* + vendor/curl-sys/* +Copyright: 2014-2024 Alex Crichton +License: MIT +Comment: see https://github.com/alexcrichton/curl-rust + +Files: vendor/dashmap/* +Copyright: 2019-2022 Acrimon +License: MIT +Comment: see https://github.com/xacrimon/dashmap + +Files: + vendor/darling/* + vendor/darling-0.*/* + vendor/darling_core/* + vendor/darling_core-0.*/* + vendor/darling_macro/* + vendor/darling_macro-0.*/* +Copyright: 2017-2024 Ted Driggs +License: MIT +Comment: see https://github.com/TedDriggs/darling + +Files: vendor/datafrog/* +Copyright: + 2018 Frank McSherry + 2018 The Rust Project Developers + 2018 Datafrog Developers +License: Apache-2.0 or MIT +Comment: see https://github.com/rust-lang-nursery/datafrog + +Files: vendor/deranged/* +Copyright: 2020-2023 Jacob Pratt +License: MIT OR Apache-2.0 +Comment: see https://github.com/jhpratt/deranged + +Files: + vendor/derive_builder/* + vendor/derive_builder_core/* + vendor/derive_builder_macro/* +Copyright: 2016-2024 Colin Kiegel + 2016-2024 Pascal Hertleif + 2016-2024 Jan-Erik Rediger + 2016-2024 Ted Driggs +License: MIT or Apache-2.0 +Comment: see https://github.com/colin-kiegel/rust-derive-builder + +Files: vendor/derive_more/* +Copyright: 2016-2023 Jelte Fennema +License: MIT +Comment: see https://github.com/JelteF/derive_more + +Files: vendor/derive_setters/* +Copyright: 2019-2023 Lymia Aluysia +License: MIT or Apache-2.0 +Comment: see https://github.com/Lymia/derive_setters + +Files: vendor/diff/* +Copyright: 2015-2017 Utkarsh Kukreti +License: MIT or Apache-2.0 +Comment: see https://github.com/utkarshkukreti/diff.rs + +Files: + vendor/anyhow/* + vendor/dissimilar/* + vendor/itoa/* + vendor/itoa-0.*/* + vendor/quote/* + vendor/syn/* + vendor/syn-1.*/* + vendor/unicode-ident/* +Copyright: 2016-2024 David Tolnay +License: MIT or Apache-2.0 +Comment: + see https://github.com/dtolnay/anyhow + see https://github.com/dtolnay/dissimilar + see https://github.com/dtolnay/itoa + see https://github.com/dtolnay/quote + see https://github.com/dtolnay/syn + see https://github.com/dtolnay/unicode-ident + +Files: + vendor/arrayvec/* + vendor/either/* + vendor/itertools/* + vendor/maplit/* + vendor/scopeguard/* +Copyright: 2014-2020 bluss +License: MIT or Apache-2.0 +Comment: + see https://github.com/bluss/rust-itertools + see https://github.com/bluss/either + see https://github.com/bluss/arrayvec + see https://github.com/bluss/fixedbitset + see https://github.com/bluss/maplit + see https://github.com/bluss/scopeguard + +Files: + vendor/dirs/* + vendor/dirs-sys/* +Copyright: 2015-2020 Simon Ochsenreither + 2015-2020 dirs-rs contributors +License: MIT OR Apache-2.0 +Comment: + see https://github.com/dirs-dev/dirs-rs + see https://github.com/dirs-dev/dirs-sys-rs + +Files: + vendor/dirs-next/* + vendor/dirs-sys-next/* +Copyright: 2017-2021 The @xdg-rs members +License: MIT OR Apache-2.0 +Comment: see https://github.com/xdg-rs/dirs + +Files: vendor/displaydoc/* +Copyright: 2019-2023 Jane Lusby +License: MIT OR Apache-2.0 +Comment: see https://github.com/yaahc/displaydoc + +Files: vendor/drop_bomb/* +Copyright: 2018-2020 Aleksey Kladov +License: MIT OR Apache-2.0 +Comment: see https://github.com/matklad/drop_bomb + +Files: vendor/dunce/* +Copyright: 2017-2023 Kornel +License: CC0-1.0 +Comment: see https://gitlab.com/kornelski/dunce + +Files: vendor/ed25519-compact/* +Copyright: 2020-2024 Frank Denis +License: MIT +Comment: see https://github.com/jedisct1/rust-ed25519-compact + +Files: vendor/elasticlunr-rs/* +Copyright: 2017-2018 Matt Ickstadt +License: MIT or Apache-2.0 +Comment: see https://github.com/mattico/elasticlunr-rs + +Files: vendor/elsa/* +Copyright: 2018-2023 Manish Goregaokar +License: MIT or Apache-2.0 +Comment: see https://github.com/manishearth/elsa + +Files: vendor/ena/* +Copyright: 2015-2020 Niko Matsakis +License: MIT or Apache-2.0 +Comment: see https://github.com/nikomatsakis/ena + +Files: vendor/encoding_rs/* +Copyright: 2016-2024 Henri Sivonen +License: (Apache-2.0 OR MIT) AND BSD-3-Clause +Comment: see https://github.com/hsivonen/encoding_rs + +Files: vendor/erased-serde/* +Copyright: 2016-2024 David Tolnay +License: MIT OR Apache-2.0 +Comment: see https://github.com/dtolnay/erased-serde + +Files: vendor/errno/* +Copyright: 2015-2022 Chris Wong +License: MIT or Apache-2.0 +Comment: see https://github.com/lambda-fairy/rust-errno + +Files: vendor/errno-dragonfly/* +Copyright: 2017-2021 Michael Neumann +License: MIT +Comment: see https://github.com/mneumann/errno-dragonfly-rs + +Files: vendor/equivalent/* +Copyright: 2016-2023 Josh Stone +License: Apache-2.0 OR MIT +Comment: see https://github.com/cuviper/equivalent + +Files: vendor/escargot/* +Copyright: 2018-2024 Ed Page +License: MIT OR Apache-2.0 +Comment: see https://github.com/crate-ci/escargot.git + +Files: vendor/expect-test/* +Copyright: 2020-2022 rust-analyzer developers +License: MIT OR Apache-2.0 +Comment: see https://github.com/rust-analyzer/expect-test + +Files: vendor/eyre/* +Copyright: 2019-2024 David Tolnay + 2019-2024 Jane Lusby +License: MIT OR Apache-2.0 +Comment: see https://github.com/yaahc/eyre + +Files: vendor/fallible-iterator/* +Copyright: 2016-2019 Steven Fackler +License: MIT or Apache-2.0 +Comment: see https://github.com/sfackler/rust-fallible-iterator + +Files: vendor/faster-hex/* +Copyright: 2018-2023 zhangsoledad <787953403@qq.com> +License: MIT +Comment: see https://github.com/NervosFoundation/faster-hex + +Files: vendor/fastrand/* +Copyright: 2020-2023 Stjepan Glavina +License: Apache-2.0 OR MIT +Comment: see https://github.com/smol-rs/fastrand + +Files: vendor/fd-lock/* +Copyright: 2019-2022 Yoshua Wuyts +License: MIT OR Apache-2.0 +Comment: see https://github.com/yoshuawuyts/fd-lock + +Files: vendor/ff/* +Copyright: 2017-2023 Sean Bowe + 2017-2023 Jack Grigg +License: MIT or Apache-2.0 +Comment: see https://github.com/zkcrypto/ff + +Files: vendor/fiat-crypto/* +Copyright: 2015-2024 Fiat Crypto library authors +License: MIT OR Apache-2.0 OR BSD-1-Clause-fiat-crypto +Comment: see https://github.com/mit-plv/fiat-crypto + +Files: vendor/field-offset/* +Copyright: 2016-2023 Diggory Blake +License: MIT OR Apache-2.0 +Comment: see https://github.com/Diggsey/rust-field-offset + +Files: + vendor/fluent-bundle/* + vendor/fluent-syntax/* + vendor/intl-memoizer/* +Copyright: 2016-2022 Zibi Braniecki + 2016-2022 Staś Małolepszy + 2016-2022 Manish Goregaokar +License: Apache-2.0 or MIT +Comment: see https://github.com/projectfluent/fluent-rs + +Files: vendor/fluent-langneg/* +Copyright: 2017-2021 Zibi Braniecki +License: Apache-2.0 +Comment: see https://github.com/projectfluent/fluent-langneg-rs + +Files: + vendor/foreign-types/* + vendor/foreign-types-shared/* +Copyright: 2017-2023 Steven Fackler +License: MIT or Apache-2.0 +Comment: see https://github.com/sfackler/foreign-types + +Files: vendor/fortanix-sgx-abi/* +Copyright: 2015-2019 Jethro Beekman +License: MPL-2.0 +Comment: see https://github.com/fortanix/rust-sgx + +Files: vendor/fs-err/* +Copyright: 2020-2020 Andrew Hickman +License: MIT or Apache-2.0 +Comment: see https://github.com/andrewhickman/fs-err + +Files: vendor/fs_extra/* +Copyright: 2017-2023 Denis Kurilenko +License: MIT +Comment: see https://github.com/webdesus/fs_extra + +Files: vendor/futf/* +Copyright: 2015-2018 Keegan McAllister +License: MIT or Apache-2.0 +Comment: see https://github.com/servo/futf + +Files: + vendor/generic-array/* +Copyright: + 2015-2020 Bartłomiej Kamiński + 2015-2020 Aaron Trent +License: MIT +Comment: see https://github.com/fizyk20/generic-array.git + +Files: vendor/gimli/* +Copyright: + 2016-2021 Nick Fitzgerald + 2016-2021 Philip Craig +License: Apache-2.0 or MIT +Comment: see https://github.com/gimli-rs/gimli + + +Files: + vendor/git2/* + vendor/git2-curl/* + vendor/libgit2-sys/* +Copyright: 2014-2024 Josh Triplett + 2014-2024 Alex Crichton +License: MIT OR Apache-2.0 +Comment: see https://github.com/rust-lang/git2-rs + +Files: + vendor/gix/* + vendor/gix-actor/* + vendor/gix-attributes/* + vendor/gix-bitmap/* + vendor/gix-chunk/* + vendor/gix-command/* + vendor/gix-commitgraph/* + vendor/gix-config/* + vendor/gix-config-value/* + vendor/gix-credentials/* + vendor/gix-date/* + vendor/gix-diff/* + vendor/gix-discover/* + vendor/gix-features/* + vendor/gix-filter/* + vendor/gix-fs/* + vendor/gix-glob/* + vendor/gix-hash/* + vendor/gix-hashtable/* + vendor/gix-ignore/* + vendor/gix-index/* + vendor/gix-lock/* + vendor/gix-macros/* + vendor/gix-negotiate/* + vendor/gix-object/* + vendor/gix-odb/* + vendor/gix-pack/* + vendor/gix-packetline/* + vendor/gix-packetline-blocking/* + vendor/gix-path/* + vendor/gix-pathspec/* + vendor/gix-prompt/* + vendor/gix-protocol/* + vendor/gix-quote/* + vendor/gix-ref/* + vendor/gix-refspec/* + vendor/gix-revision/* + vendor/gix-revwalk/* + vendor/gix-sec/* + vendor/gix-submodule/* + vendor/gix-tempfile/* + vendor/gix-trace/* + vendor/gix-transport/* + vendor/gix-traverse/* + vendor/gix-url/* + vendor/gix-utils/* + vendor/gix-validate/* + vendor/gix-worktree/* +Copyright: + 2018-2024 Conor Davis + 2018-2024 Jiahao XU + 2018-2024 Sebastian Thiel +License: MIT or Apache-2.0 +Comment: see https://github.com/Byron/gitoxide + +Files: vendor/group/* +Copyright: 2018-2023 Sean Bowe + 2018-2023 Jack Grigg +License: MIT or Apache-2.0 +Comment: see https://github.com/zkcrypto/group + +Files: vendor/gsgdt/* +Copyright: 2020 Vishnunarayan K I +License: MIT or Apache-2.0 +Comment: see https://github.com/vn-ki/gsgdt-rs + +Files: vendor/h2/* +Copyright: 2017-2024 Carl Lerche + 2017-2024 Sean McArthur +License: MIT +Comment: see https://github.com/hyperium/h2 + +Files: vendor/half/* +Copyright: 2016-2024 Kathryn Long +License: MIT OR Apache-2.0 +Comment: see https://github.com/starkat99/half-rs + +Files: + vendor/handlebars/* + vendor/handlebars-3.5.*/* +Copyright: 2014-2017 Ning Sun +License: MIT +Comment: see https://github.com/sunng87/handlebars-rust + +Files: vendor/heck/* +Copyright: 2017-2018 Without Boats +License: MIT OR Apache-2.0 +Comment: see https://github.com/withoutboats/heck + +Files: + vendor/hermit-abi/* + vendor/hermit-abi-0.*/* +Copyright: 2019-2019 Stefan Lankes +License: MIT or Apache-2.0 +Comment: see https://github.com/hermitcore/hermit-abi + +Files: vendor/hex/* +Copyright: 2015-2020 KokaKiwi +License: MIT OR Apache-2.0 +Comment: see https://github.com/KokaKiwi/rust-hex + +Files: vendor/home/* +Copyright: 2017-2022 Brian Anderson +License: MIT OR Apache-2.0 +Comment: see https://github.com/brson/home + +Files: + vendor/html5ever/* + vendor/markup5ever/* +Copyright: 2014-2020 The html5ever Project Developers +License: MIT or Apache-2.0 +Comment: see https://github.com/servo/html5ever + +Files: vendor/http/* +Copyright: 2017-2024 Alex Crichton + 2017-2024 Carl Lerche + 2017-2024 Sean McArthur +License: MIT OR Apache-2.0 +Comment: see https://github.com/hyperium/http + +Files: vendor/httparse/* +Copyright: 2015-2024 Sean McArthur +License: MIT or Apache-2.0 +Comment: see https://github.com/seanmonstar/httparse + +Files: vendor/http-body/* +Copyright: 2019-2024 Carl Lerche + 2019-2024 Lucio Franco + 2019-2024 Sean McArthur +License: MIT +Comment: see https://github.com/hyperium/http-body + +Files: vendor/httpdate/* +Copyright: 2016-2023 Pyfisch +License: MIT or Apache-2.0 +Comment: see https://github.com/pyfisch/httpdate + +Files: vendor/http-auth/* +Copyright: 2021-2023 Scott Lamp +License: MIT or Apache-2.0 +Comment: see https://github.com/scottlamb/http-auth + +Files: vendor/humansize/* +Copyright: 2016-2022 Leopold Arkham +License: MIT or Apache-2.0 +Comment: see https://github.com/LeopoldArkham/humansize + +Files: + vendor/humantime/* + vendor/humantime-*/* +Copyright: + 2016-2018 Paul Colomiets + 2016 The humantime Developers + 2016 Pyfisch + 2005-2013 Rich Felker +License: MIT or Apache-2.0 + +Files: vendor/hyper/* +Copyright: 2014-2024 Sean McArthur +License: MIT +Comment: see https://github.com/hyperium/hyper + +Files: vendor/hyper-tls/* +Copyright: 2017-2023 Sean McArthur +License: MIT or Apache-2.0 +Comment: see https://github.com/hyperium/hyper-tls + +Files: vendor/if_chain/* +Copyright: 2016-2020 Chris Wong +License: MIT or Apache-2.0 +Comment: see https://github.com/lfairy/if_chain + +Files: + vendor/iana-time-zone/* + vendor/iana-time-zone-haiku/* +Copyright: 2020-2024 Andrew Straw + 2020-2024 René Kijewski + 2020-2024 Ryan Lopopolo +License: MIT OR Apache-2.0 +Comment: see https://github.com/strawlab/iana-time-zone + +Files: + vendor/form_urlencoded/* + vendor/idna/* + vendor/percent-encoding/* + vendor/url/* +Copyright: 2013-2021 The rust-url developers +License: MIT or Apache-2.0 +Comment: see https://github.com/servo/rust-url/ + +Files: vendor/ident_case/* +Copyright: 2017-2021 Ted Driggs +License: MIT or Apache-2.0 +Comment: see https://github.com/TedDriggs/ident_case + +Files: vendor/im-rc/* +Copyright: 2017-2022 Bodil Stokke +License: MPL-2.0+ +Comment: see https://github.com/bodil/im-rs + +Files: vendor/indenter/* +Copyright: 2020-2023 Jane Lusby +License: MIT OR Apache-2.0 +Comment: see https://github.com/yaahc/indenter + +Files: + vendor/indexmap/* + vendor/indexmap-1.*/* +Copyright: 2016-2019 bluss + 2016-2019 Josh Stone +License: Apache-2.0 or MIT +Comment: see https://github.com/bluss/indexmap + +Files: + vendor/indoc/* +Copyright: 2016-2022 David Tolnay +License: MIT OR Apache-2.0 +Comment: see https://github.com/dtolnay/indoc + +Files: vendor/instant/* +Copyright: 2019-2020 sebcrozet +License: BSD-3-Clause +Comment: see https://github.com/sebcrozet/instant + +Files: vendor/intl_pluralrules/* +Copyright: 2018-2021 Kekoa Riggin + 2018-2021 Zibi Braniecki +License: Apache-2.0 or MIT +Comment: see https://github.com/zbraniecki/pluralrules + +Files: vendor/io-lifetimes/* +Copyright: 2021-2022 Dan Gohman +License: Apache-2.0 with LLVM exception OR Apache-2.0 OR MIT +Comment: see https://github.com/sunfishcode/io-lifetimes + +Files: vendor/ipnet/* +Copyright: 2017-2023 Kris Price +License: MIT OR Apache-2.0 +Comment: see https://github.com/krisprice/ipnet + +Files: vendor/is-terminal/* +Copyright: 2022-2023 softprops + 2022-2023 Dan Gohman +License: MIT +Comment: see https://github.com/sunfishcode/is-terminal + +Files: vendor/jod-thread/* +Copyright: 2019-2020 Aleksey Kladov +License: MIT OR Apache-2.0 +Comment: see https://github.com/matklad/jod-thread + +Files: + vendor/js-sys/* + vendor/wasm-bindgen/* + vendor/wasm-bindgen-backend/* + vendor/wasm-bindgen-futures/* + vendor/wasm-bindgen-macro-support/* + vendor/wasm-bindgen-macro/* + vendor/wasm-bindgen-shared/* +Copyright: + 2018-2023 The wasm-bindgen Developers + 2014-2023 Alex Crichton +License: MIT or Apache-2.0 +Comment: + see https://github.com/rustwasm/wasm-bindgen + +Files: vendor/web-sys/* +Copyright: 2018-2024 The wasm-bindgen Developers +License: MIT or Apache-2.0 +Comment: + see https://github.com/rustwasm/wasm-bindgen/tee/master/crates/web-sys + +Files: vendor/web-sys/webidls/enabled/*.webidl + vendor/web-sys/webidls/unavailable_option_primitive/*.webidl + vendor/web-sys/webidls/unstable/*.webidl +Copyright: + 2004-2011 Apple Computer, Inc., Mozilla Foundation, and Opera Software ASA. + 2012-2018 W3C® (MIT, ERCIM, Keio) +License: MPL-2.0 +Comment: + see https://github.com/rustwasm/wasm-bindgen/tee/master/crates/web-sys + +Files: vendor/web-sys/webidls/enabled/MediaCapabilities.webidl +Copyright: 2018 the Contributors to the Media Capabilities Specification +License: MPL-2.0 +Comment: + see https://github.com/rustwasm/wasm-bindgen/tee/master/crates/web-sys + +Files: vendor/web-sys/webidls/enabled/PointerEvent.webidl +Copyright: 2013 Microsoft Open Technologies, Inc. */ +License: MPL-2.0 +Comment: + see https://github.com/rustwasm/wasm-bindgen/tee/master/crates/web-sys + +Files: vendor/jsonpath_lib/* +Copyright: 2018-2021 Changseok Han +License: MIT +Comment: see https://github.com/freestrings/jsonpath + +Files: vendor/la-arena/* +Copyright: 2024 rust-analyzer team +License: MIT or Apache-2.0 +Comment: see https://github.com/rust-lang/rust-analyzer/tree/master/lib/la-arena + +Files: vendor/lazycell/* +Copyright: 2016-2020 Alex Crichton + 2016-2020 Nikita Pekin +License: MIT or Apache-2.0 +Comment: see https://github.com/indiv0/lazycell + +Files: vendor/lazy_static/* +Copyright: 2014-2018 Marvin Löbel +License: MIT or Apache-2.0 +Comment: + see https://github.com/rust-lang-nursery/lazy-static.rs + see https://github.com/Kimundi/owning-ref-rs + +Files: vendor/leb128/* +Copyright: 2016-2022 Nick Fitzgerald + 2016-2022 Philip Craig +License: Apache-2.0 or MIT +Comment: see https://github.com/gimli-rs/leb128 + +Files: vendor/levenshtein/* +Copyright: 2016-2021 Titus Wormer +License: MIT +Comment: see https://github.com/wooorm/levenshtein-rs + +Files: + vendor/libloading/* + vendor/libloading-0.7.4/* +Copyright: 2015-2022 Simonas Kazlauskas +License: ISC +Comment: see https://github.com/nagisa/rust_libloading/ + +Files: + vendor/libm/* + vendor/libm-0.*/* +Copyright: 2018-2024 Jorge Aparicio +License: MIT OR Apache-2.0 +Comment: see https://github.com/rust-lang-nursery/libm + +Files: vendor/libssh2-sys/* +Copyright: 2014-2024 Alex Crichton + 2014-2024 Wez Furlong + 2014-2024 Matteo Bigoi +License: MIT or Apache-2.0 +Comment: see https://github.com/alexcrichton/ssh2-rs + +Files: vendor/libz-sys/* +Copyright: 2014-2024 Alex Crichton + 2014-2024 Josh Triplett +License: MIT OR Apache-2.0 +Comment: see https://github.com/rust-lang/libz-sys + +Files: vendor/line-index/* +Copyright: + 2024 Ariel Davis + 2024 rust-analyzer team +License: MIT or Apache-2.0 +Comment: see https://github.com/rust-lang/rust-analyzer/tree/master/lib/line-index + +Files: + vendor/linux-raw-sys/* + vendor/linux-raw-sys-0.*/* +Copyright: 2021-2022 Dan Gohman +License: Apache-2.0 with LLVM exception OR Apache-2.0 OR MIT +Comment: see https://github.com/sunfishcode/linux-raw-sys + +Files: vendor/lsp-server/* +Copyright: 2024 rust-analyzer team +License: MIT OR Apache-2.0 +Comment: see https://github.com/rust-lang/rust-analyzer/tree/master/lib/lsp-server + +Files: vendor/lsp-types/* +Copyright: 2016-2022 Markus Westerlind + 2016-2022 Bruno Medeiros +License: MIT +Comment: see https://github.com/gluon-lang/lsp-types + +Files: vendor/mac/* +Copyright: 2014-2017 Jonathan Reem +License: MIT +Comment: + see https://github.com/reem/rust-mac.git + +Files: vendor/matchers/* +Copyright: 2019-2019 Eliza Weisman +License: MIT +Comment: see https://github.com/hawkw/matchers + +Files: vendor/maybe-async/* +Copyright: 2020-2024 Guoli Lyu +License: MIT +Comment: see https://github.com/fMeow/maybe-async-rs + +Files: vendor/mdbook/* +Copyright: 2015-2017 Mathieu David +License: MPL-2.0 +Comment: see https://github.com/azerupi/mdBook + +Files: vendor/measureme/* +Copyright: 2019-2020 Wesley Wiser + 2019-2020 Michael Woerister +License: MIT OR Apache-2.0 +Comment: see https://github.com/rust-lang/measureme + +Files: + vendor/memmap2/* + vendor/memmap2-0*/* +Copyright: 2015-2021 Dan Burkert + 2015-2021 Evgeniy Reizner +License: MIT or Apache-2.0 +Comment: see https://github.com/RazrFalcon/memmap2-rs + +Files: + vendor/memoffset/* + vendor/memoffset-0.*/* +Copyright: 2017-2019 Gilad Naaman +License: MIT +Comment: see https://github.com/Gilnaa/memoffset + +Files: vendor/mime/* +Copyright: 2014-2019 Sean McArthur +License: MIT or Apache-2.0 +Comment: see https://github.com/hyperium/mime + +Files: vendor/mime_guess/* +Copyright: 2015-2023 Austin Bonander +License: MIT +Comment: see https://github.com/abonander/mime_guess + +Files: vendor/minifier/* +Copyright: 2017-2018 Guillaume Gomez +License: MIT +Comment: + see https://github.com/GuillaumeGomez/minifier-rs + +Files: vendor/miniz_oxide/* +Copyright: 2017-2020 Frommi +License: MIT +Comment: see https://github.com/Frommi/miniz_oxide + +Files: vendor/mio/* +Copyright: 2014-2024 Carl Lerche + 2014-2024 Thomas de Zeeuw + 2014-2024 Tokio Contributors +License: MIT +Comment: see https://github.com/tokio-rs/mio + +Files: vendor/native-tls/* +Copyright: 2016-2024 Steven Fackler +License: MIT or Apache-2.0 +Comment: see https://github.com/sfackler/rust-native-tls + +Files: vendor/new_debug_unreachable/* +Copyright: 2014-2018 Matt Brubeck + 2014-2018 Jonathan Reem +License: MIT +Comment: see https://github.com/mbrubeck/rust-debug-unreachable + +Files: vendor/nohash-hasher/* +Copyright: 2018-2020 Parity Technologies +License: Apache-2.0 OR MIT +Comment: see https://github.com/paritytech/nohash-hasher + +Files: vendor/normalize-line-endings/* +Copyright: 2016-2018 Richard Dodd +License: Apache-2.0 +Comment: see https://github.com/derekdreery/normalize-line-endings + +Files: vendor/num_threads/* +Copyright: 2021-2024 Jacob Pratt +License: MIT OR Apache-2.0 +Comment: see https://github.com/jhpratt/num_threads + +Files: vendor/nu-ansi-term/* +Copyright: 2014-2023 ogham@bsago.me + 2014-2023 Ryan Scheel (Havvy) + 2014-2023 Josh Triplett + 2014-2023 The Nushell Project Developers +License: MIT +Comment: see https://github.com/nushell/nu-ansi-term + +Files: vendor/num_cpus/* +Copyright: 2015 Sean McArthur +License: MIT +Comment: see https://github.com/seanmonstar/num_cpus + +Files: vendor/number_prefix/* +Copyright: 2014-2020 Benjamin Sago +License: MIT +Comment: see https://github.com/ogham/rust-number-prefix + +Files: vendor/object/* +Copyright: + 2016-2020 Nick Fitzgerald + 2016-2020 Philip Craig +License: Apache-2.0 or MIT +Comment: see https://github.com/gimli-rs/object + +Files: vendor/odht/* +Copyright: 2021 Michael Woerister +License: Apache-2.0 or MIT +Comment: see https://github.com/rust-lang/odht + +Files: vendor/once_cell/* +Copyright: 2018-2019 Aleksey Kladov +License: MIT OR Apache-2.0 +Comment: see https://github.com/matklad/once_cell + +Files: vendor/oorandom/* +Copyright: 2019-2021 Simon Heath +License: MIT +Comment: see https://sr.ht/~icefox/oorandom/ + +Files: + vendor/opener/* + vendor/opener-0.*/* +Copyright: 2018-2024 Brian Bowman +License: MIT OR Apache-2.0 +Comment: see https://github.com/Seeker14491/opener + +Files: vendor/openssl/* +Copyright: 2011-2024 Steven Fackler +License: Apache-2.0 +Comment: see https://github.com/sfackler/rust-openssl + +Files: vendor/openssl-macros/* +Copyright: 2022-2024 Steven Fackler +License: MIT or Apache-2.0 +Comment: see https://github.com/sfackler/rust-openssl + +Files: vendor/openssl-probe/* +Copyright: 2016-2022 Alex Crichton +License: MIT or Apache-2.0 +Comment: see https://github.com/sfackler/rust-openssl + +Files: vendor/openssl-sys/* +Copyright: 2011-2024 Alex Crichton + 2011-2024 Steven Fackler +License: MIT +Comment: see https://github.com/sfackler/rust-openssl + +Files: vendor/ordered-float/* +Copyright: 2014-2024 Jonathan Reem + 2014-2024 Matt Brubeck +License: MIT +Comment: see https://github.com/reem/rust-ordered-float + +Files: vendor/orion/* +Copyright: 2018-2024 brycx +License: MIT +Comment: see https://github.com/orion-rs/orion + +Files: vendor/os_info/* +Copyright: 2015-2024 Jan Schulte + 2015-2024 Stanislav Tkach +License: MIT +Comment: see https://github.com/stanislav-tkach/os_info + +Files: vendor/overload/* +Copyright: 2019-2022 Daniel Salvadori +License: MIT +Comment: see https://github.com/danaugrs/overload + +Files: vendor/owo-colors/* +Copyright: 2020-2024 jam1garner <8260240+jam1garner@users.noreply.github.com> +License: MIT +Comment: see https://github.com/jam1garner/owo-colors + +Files: + vendor/hashbrown/* + vendor/hashbrown-0.*/* + vendor/lock_api/* + vendor/thread_local/* + vendor/parking_lot/* + vendor/parking_lot-0.11.2/* + vendor/parking_lot_core/* + vendor/parking_lot_core-0.*/* +Copyright: 2016-2019 Amanieu d'Antras +License: MIT or Apache-2.0 +Comment: + see https://github.com/rust-lang/hashbrown + see https://github.com/Amanieu/thread_local-rs + see https://github.com/Amanieu/parking_lot + +Files: vendor/packed_simd_2/* +Copyright: 2018-2021 Gonzalo Brito Gadeschi + 2018-2021 Jubilee Young +License: MIT or Apache-2.0 +Comment: see https://github.com/rust-lang-nursery/packed_simd + +Files: vendor/pad/* +Copyright: 2018-2024 Ben S +License: MIT + +Files: + vendor/partial_ref/* + vendor/partial_ref_derive/* +Copyright: 2018-2021 Jannis Harder +License: MIT or Apache-2.0 +Comment: see https://github.com/jix/partial_ref + +Files: vendor/pasetors/* +Copyright: 2020-2024 brycx +License: MIT +Comment: see https://github.com/brycx/pasetors + +Files: vendor/pathdiff/* +Copyright: 2017-2020 Manish Goregaokar +License: MIT or Apache-2.0 +Comment: see https://github.com/Manishearth/pathdiff + +Files: + vendor/perf-event/* + vendor/perf-event-open-sys/* + vendor/perf-event-open-sys-1.*/* +Copyright: 2019-2022 Jim Blandy +License: MIT OR Apache-2.0 +Comment: see https://github.com/jimblandy/perf-event.git + +Files: + vendor/pest/* + vendor/pest_derive/* + vendor/pest_generator/* + vendor/pest_meta/* +Copyright: 2016-2019 Dragoș Tiselice +License: MIT or Apache-2.0 +Comment: + see https://github.com/dragostis/pest + see https://github.com/pest-parser/pest + +Files: vendor/polonius-engine/* +Copyright: 2018-2018 The Rust Project Developers + 2018-2018 Polonius Developers +License: Apache-2.0 or MIT +Comment: see https://github.com/rust-lang-nursery/polonius + +Files: + vendor/phf/* + vendor/phf_codegen/* + vendor/phf_generator/* + vendor/phf_shared/* +Copyright: 2014-2018 Steven Fackler +License: MIT +Comment: see https://github.com/sfackler/rust-phf + +Files: vendor/pin-project-lite/* +Copyright: 2018-2021 Taiki Endo +License: Apache-2.0 or MIT +Comment: + see https://github.com/taiki-e/pin-project-lite + +Files: + vendor/plotters/* + vendor/plotters-backend/* + vendor/plotters-svg/* +Copyright: 2019-2024 Hao Hou +License: MIT +Comment: see https://github.com/plotters-rs/plotters + +Files: vendor/portable-atomic/* +Copyright: 2022 Taiki Endo +License: Apache-2.0 OR MIT +Comment: see https://github.com/taiki-e/portable-atomic + +Files: vendor/precomputed-hash/* +Copyright: 2017-2017 Emilio Cobos Álvarez +License: MIT +Comment: see https://github.com/emilio/precomputed-hash + +Files: vendor/pretty_assertions/* +Copyright: 2017-2022 Colin Kiegel + 2017-2022 Florent Fayolle + 2017-2022 Tom Milligan +License: MIT or Apache-2.0 +Comment: see https://github.com/colin-kiegel/rust-pretty-assertions + +Files: vendor/prettydiff/* +Copyright: 2019-2024 Roman Koblov +License: MIT +Comment: see https://github.com/romankoblov/prettydiff + +Files: vendor/proc-macro-hack/* +Copyright: 2016-2022 David Tolnay +License: MIT OR Apache-2.0 +Comment: see https://github.com/dtolnay/proc-macro-hack + +Files: vendor/prodash/* +Copyright: 2020-2023 Sebastian Thiel +License: MIT +Comment: see https://github.com/Byron/prodash + +Files: vendor/proptest/* +Copyright: 2017-2024 Jason Lingle +License: MIT or Apache-2.0 +Comment: see https://github.com/proptest-rs/proptest + +Files: vendor/psm/* +Copyright: 2015-2020 Simonas Kazlauskas +License: MIT or Apache-2.0 +Comment: see https://github.com/rust-lang/stacker/ + +Files: vendor/pulldown-cmark/* +Copyright: 2015-2017 Raph Levien +License: MIT +Comment: see https://github.com/google/pulldown-cmark + +Files: vendor/punycode/* +Copyright: 2015-2019 mcarton +License: MIT +Comment: see https://github.com/mcarton/rust-punycode.git + +Files: + vendor/quick-error-1.*/* + vendor/quick-error/* +Copyright: + 2015-2023 Paul Colomiets + 2015-2023 Colin Kiegel +License: MIT or Apache-2.0 +Comment: see http://github.com/tailhook/quick-error + +Files: vendor/quine-mc_cluskey/* +Copyright: 2016-2016 Oliver Schneider +License: MIT +Comment: see https://github.com/oli-obk/quine-mc_cluskey + +Files: + vendor/rayon/* + vendor/rayon-core/* + vendor/rustc-rayon/* + vendor/rustc-rayon-core/* +Copyright: 2014-2018 Niko Matsakis + 2014-2018 Josh Stone +License: Apache-2.0 or MIT +Comment: + see https://github.com/rayon-rs/rayon + see https://github.com/Zoxc/rayon/tree/rustc + +Files: vendor/r-efi/* +Copyright: 2018-2024 David Rheinsberg + 2018-2024 Tom Gundersen +License: MIT OR Apache-2.0 OR LGPL-2.1-or-later +Comment: see https://github.com/r-efi/r-efi + +Files: vendor/r-efi-alloc/* +Copyright: 2018-2022 David Rheinsberg + 2018-2022 Tom Gundersen +License: MIT OR Apache-2.0 OR LGPL-2.1-or-later +Comment: see https://github.com/r-efi/r-efi-alloc + +Files: vendor/redox_users/* +Copyright: 2017-2021 Jose Narvaez + 2017-2021 Wesley Hershberger +License: MIT +Comment: see https://gitlab.redox-os.org/redox-os/users + +Files: + vendor/redox_syscall/* + vendor/redox_syscall-0.*/* +Copyright: 2016-2021 Jeremy Soller +License: MIT +Comment: + see https://github.com/redox-os/syscall + +Files: + vendor/regex-automata/* + vendor/regex-automata-0.1.*/* + vendor/regex-automata-0.2.*/* +Copyright: 2018-2020 Andrew Gallant +License: Unlicense or MIT +Comment: see https://github.com/BurntSushi/regex-automata + +Files: vendor/reqwest/* +Copyright: 2016-2024 Sean McArthur +License: MIT OR Apache-2.0 +Comment: see https://github.com/seanmonstar/reqwest + +Files: vendor/rowan/* +Copyright: 2018-2022 Aleksey Kladov +License: MIT OR Apache-2.0 +Comment: see https://github.com/rust-analyzer/rowan + +Files: vendor/ra-ap-rustc_lexer/* +Copyright: 2010-2022 The Rust Project Developers +License: MIT or Apache-2.0 +Comment: see https://github.com/rust-lang/rust + +Files: vendor/rustc_apfloat/* +Copyright: 2003-2017 University of Illinois at Urbana-Champaign. +License: Apache-2.0 with LLVM exception +Comment: see https://github.com/rust-lang/rustc_apfloat , in particular LICENSE-DETAILS.md + +Files: vendor/rustc_tools_util/* +Copyright: 2014-2022 The Rust Project Developers +License: MIT or Apache-2.0 +Comment: see https://github.com/rust-lang/rust-clippy/tree/master/rustc_tools_util + +Files: vendor/rustc-semver/* +Copyright: 2020-2020 flip1995 +License: MIT OR Apache-2.0 +Comment: see https://github.com/flip1995/rustc-semver + +Files: vendor/rustc_version/* +Copyright: 2015-2021 Dirkjan Ochtman + 2015-2021 Marvin Löbel +License: MIT or Apache-2.0 +Comment: see https://github.com/Kimundi/rustc-version-rs + +Files: vendor/rustfix/* +Copyright: + 2016-2021 Pascal Hertleif + 2016-2021 Oliver Schneider +License: Apache-2.0 or MIT +Comment: see https://github.com/killercup/rustfix + +Files: + vendor/rustix/* + vendor/rustix-0.*/* +Copyright: 2020-2023 Dan Gohman + 2020-2023 Jakub Konka +License: Apache-2.0 with LLVM exception OR Apache-2.0 OR MIT +Comment: see https://github.com/bytecodealliance/rustix + +Files: vendor/rustversion/* +Copyright: 2019-2021 David Tolnay +License: MIT OR Apache-2.0 +Comment: see https://github.com/dtolnay/rustversion + +Files: vendor/rusty-fork/* +Copyright: 2018-2020 Jason Lingle +License: MIT or Apache-2.0 +Comment: see https://github.com/altsysrq/rusty-fork + +Files: vendor/ruzstd/* +Copyright: 2019-2024 Moritz Borcherding +License: MIT +Comment: see https://github.com/KillingSpark/zstd-rs + +Files: vendor/ryu/* +Copyright: 2018-2018 David Tolnay +License: Apache-2.0 or BSL-1.0 +Comment: see https://github.com/dtolnay/ryu + +Files: + vendor/security-framework/* + vendor/security-framework-sys/* +Copyright: 2015-2024 Steven Fackler + 2015-2024 Kornel +License: MIT OR Apache-2.0 +Comment: see https://github.com/kornelski/rust-security-framework + +Files: vendor/self_cell/* +Copyright: 2020-2021 Lukas Bergdoll +License: Apache-2.0 +Comment: see https://github.com/Voultapher/self_cell + +Files: vendor/semver/* +Copyright: + 2014-2020 Steve Klabnik + 2014-2020 The Rust Project Developers +License: MIT or Apache-2.0 +Comment: + see https://github.com/steveklabnik/semver + see https://github.com/steveklabnik/semver-parser + +Files: + vendor/serde/* + vendor/serde_json/* +Copyright: 2014-2017 Erick Tryzelaar +License: MIT or Apache-2.0 +Comment: + see https://github.com/serde-rs/serde + see https://github.com/serde-rs/json + +Files: vendor/serde_derive/* +Copyright: 2014-2017 Erick Tryzelaar + 2016-2017 David Tolnay +License: MIT or Apache-2.0 +Comment: see https://github.com/serde-rs/serde + +Files: vendor/serde_ignored/* +Copyright: 2017-2024 David Tolnay +License: MIT OR Apache-2.0 +Comment: see https://github.com/dtolnay/serde-ignored + +Files: vendor/serde_repr/* +Copyright: 2019-2022 David Tolnay +License: MIT OR Apache-2.0 +Comment: see https://github.com/dtolnay/serde-repr + +Files: vendor/serde_spanned/* +Copyright: + 2014-2023 Alex Crichton + 2023 Ed Page +License: MIT or Apache-2.0 +Comment: see https://github.com/toml-rs/toml + +Files: vendor/serde-untagged/* +Copyright: 2023-2024 David Tolnay +License: MIT OR Apache-2.0 +Comment: see https://github.com/dtolnay/serde-untagged + +Files: vendor/serde_urlencoded/* +Copyright: 2016-2024 Anthony Ramine +License: MIT or Apache-2.0 +Comment: see https://github.com/nox/serde_urlencoded + +Files: vendor/serde-value/* +Copyright: 2016-2020 arcnmx +License: MIT +Comment: see https://github.com/arcnmx/serde-value + +Files: vendor/sha1_smol/* +Copyright: 2014-2022 Armin Ronacher +License: BSD-3-Clause +Comment: see https://github.com/mitsuhiko/sha1-smol + +Files: vendor/sharded-slab/* +Copyright: 2019-2020 Eliza Weisman +License: MIT +Comment: see https://github.com/hawkw/sharded-slab + +Files: vendor/shell-escape/* +Copyright: 2016-2020 Steven Fackler +License: MIT or Apache-2.0 +Comment: see https://github.com/sfackler/shell-escape + +Files: vendor/shlex/* +Copyright: 2015-2015 comex +License: MIT or Apache-2.0 +Comment: see https://github.com/comex/rust-shlex + +Files: vendor/similar/* +Copyright: 2021-2024 Armin Ronacher + 2021-2024 Pierre-Étienne Meunier + 2021-2024 Brandon Williams +License: Apache-2.0 +Comment: see https://github.com/mitsuhiko/similar + +Files: vendor/siphasher/* +Copyright: 2016-2018 Frank Denis +License: MIT or Apache-2.0 +Comment: see https://github.com/jedisct1/rust-siphash + +Files: vendor/sized-chunks/* +Copyright: 2019-2022 Bodil Stokke +License: MPL-2.0+ +Comment: see https://github.com/bodil/sized-chunks + +Files: vendor/smallvec/* +Copyright: 2015-2020 Simon Sapin +License: MPL-2.0 +Comment: see https://github.com/servo/rust-smallvec + +Files: vendor/smol_str/* +Copyright: 2018-2022 Aleksey Kladov +License: MIT OR Apache-2.0 +Comment: see https://github.com/rust-analyzer/smol_str + +Files: vendor/snap/* +Copyright: 2016-2020 Andrew Gallant +License: BSD-3-Clause +Comment: see https://github.com/BurntSushi/rust-snappy + +Files: + vendor/snapbox/* + vendor/snapbox-macros/* +Copyright: Ed Page 2022 +License: MIT OR Apache-2.0 +Comment: see https://github.com/assert-rs/trycmd/ + +Files: vendor/socket2/* +Copyright: 2017-2024 Alex Crichton + 2017-2024 Thomas de Zeeuw +License: MIT or Apache-2.0 +Comment: see https://github.com/rust-lang/socket2 + +Files: + vendor/spdx-expression/* + vendor/spdx-rs/* +Copyright: 2021-2022 Mikko Murto +License: MIT +Comment: + see https://github.com/doubleopen-project/spdx-expression + see https://github.com/doubleopen-project/spdx-rs + +Files: vendor/stable_deref_trait/* +Copyright: 2017-2017 Robert Grosse +License: MIT or Apache-2.0 +Comment: see https://github.com/storyyeller/stable_deref_trait + +Files: vendor/stacker/* +Copyright: 2015-2020 Alex Crichton + 2015-2020 Simonas Kazlauskas +License: MIT or Apache-2.0 +Comment: see https://github.com/rust-lang/stacker + +Files: vendor/static_assertions/* +Copyright: 2017-2020 Nikolai Vazquez +License: MIT OR Apache-2.0 +Comment: see https://github.com/nvzqz/static-assertions-rs + +Files: vendor/strsim/* +Copyright: 2015-2021 Danny Guo +License: MIT +Comment: see https://github.com/dguo/strsim-rs + +Files: + vendor/strum/* + vendor/strum_macros/* +Copyright: 2017-2023 Peter Glotfelty +License: MIT +Comment: see https://github.com/Peternator7/strum + +Files: vendor/subtle/* +Copyright: 2017-2023 Isis Lovecruft + 2017-2023 Henry de Valence +License: BSD-3-Clause +Comment: see https://github.com/dalek-cryptography/subtle + +Files: + vendor/synstructure/* + vendor/synstructure-0.*/* +Copyright: + 2016-2023 Nika Layzell +License: MIT +Comment: see https://github.com/mystor/synstructure + +Files: + vendor/sysinfo/* + vendor/sysinfo-0.*/* +Copyright: 2015-2022 Guillaume Gomez +License: MIT +Comment: see https://github.com/GuillaumeGomez/sysinfo + +Files: vendor/tar-0.4.38/* +Copyright: 2014-2023 Alex Crichton +License: MIT or Apache-2.0 +Comment: see https://github.com/alexcrichton/tar-rs + +Files: vendor/tempfile/* +Copyright: 2015-2018 Steven Allen + 2015-2018 The Rust Project Developers + 2015-2018 Ashley Mannix + 2015-2018 Jason White +License: MIT or Apache-2.0 +Comment: see https://github.com/Stebalien/tempfile + +Files: vendor/tendril/* +Copyright: 2015-2017 Keegan McAllister + 2015-2017 Simon Sapin + 2015-2017 Chris Morgan +License: MIT or Apache-2.0 +Comment: see https://github.com/servo/tendril + +Files: vendor/term/* +Copyright: + 2014-2021 The Rust Project Developers + 2014-2021 Steven Allen +License: MIT or Apache-2.0 +Comment: see https://github.com/Stebalien/term + +Files: vendor/terminal_size/* +Copyright: 2015-2023 Andrew Chin +License: MIT OR Apache-2.0 +Comment: see https://github.com/eminence/terminal-size + +Files: vendor/termize/* +Copyright: 2016-2020 Yuki Okushi +License: MIT or Apache-2.0 +Comment: see https://github.com/JohnTitor/termize + +Files: vendor/text-size/* +Copyright: 2018-2021 Aleksey Kladov + 2018-2021 Christopher Durham (CAD97) +License: MIT OR Apache-2.0 +Comment: see https://github.com/rust-analyzer/text-size + +Files: vendor/thin-vec/* +Copyright: 2017-2022 Aria Beingessner +License: MIT or Apache-2.0 +Comment: see https://github.com/gankra/thin-vec + +Files: + vendor/thiserror/* + vendor/thiserror-impl/* +Copyright: 2019-2020 David Tolnay +License: MIT OR Apache-2.0 +Comment: see https://github.com/dtolnay/thiserror + +Files: + vendor/thiserror-core/* + vendor/thiserror-core-impl/* +Copyright: + 2019-2023 David Tolnay + 2022-2023 Florian Uekermann +License: MIT or Apache-2.0 +Comment: https://github.com/FlorianUekermann/thiserror/tree/core + +Files: vendor/thorin-dwp/* +Copyright: 2021-2022 David Wood +License: MIT OR Apache-2.0 +Comment: see https://github.com/davidtwco/thorin + +Files: vendor/threadpool/* +Copyright: 2015-2021 The Rust Project Developers + 2015-2021 Corey Farwell + 2015-2021 Stefan Schindler +License: MIT or Apache-2.0 +Comment: see https://github.com/rust-threadpool/rust-threadpool + +Files: vendor/time-macros/* +Copyright: 2019-2024 Jacob Pratt + 2019-2024 Time contributors +License: MIT OR Apache-2.0 +Comment: see https://github.com/time-rs/time + +Files: vendor/tinystr/* +Copyright: 2019-2022 Raph Levien + 2019-2022 Zibi Braniecki +License: Apache-2.0 or MIT +Comment: see https://github.com/zbraniecki/tinystr + +Files: vendor/tinytemplate/* +Copyright: 2018-2022 Brook Heisler +License: Apache-2.0 OR MIT +Comment: see https://github.com/bheisler/TinyTemplate + +Files: vendor/tinyvec/* +Copyright: 2020 Lokathor +License: Zlib +Comment: see https://github.com/Lokathor/tinyvec + +Files: vendor/tinyvec_macros/* +Copyright: 2020 Soveu +License: MIT or Apache-2.0 or Zlib +Comment: see https://github.com/Soveu/tinyvec_macros + +Files: vendor/topological-sort/* +Copyright: 2015-2018 gifnksm +License: MIT OR Apache-2.0 +Comment: see https://github.com/gifnksm/topological-sort-rs + +Files: vendor/toml/* +Copyright: 2014-2024 Alex Crichton +License: MIT OR Apache-2.0 +Comment: see https://github.com/toml-rs/toml + +Files: vendor/toml_datetime/* +Copyright: 2014-2024 Alex Crichton +License: MIT OR Apache-2.0 +Comment: see https://github.com/toml-rs/toml + +Files: vendor/toml_edit/* +Copyright: 2014-2024 Andronik Ordian + 2014-2024 Ed Page +License: MIT OR Apache-2.0 +Comment: see https://github.com/ordian/toml_edit + +Files: + vendor/tracing/* + vendor/tracing-attributes/* + vendor/tracing-core/* + vendor/tracing-core-0.*/* + vendor/tracing-error/* + vendor/tracing-log/* + vendor/tracing-subscriber/* +Copyright: + 2018-2024 David Barsky + 2018-2024 Eliza Weisman + 2018-2024 Jane Lusby + 2018-2024 Tokio Contributors +License: MIT +Comment: see https://github.com/tokio-rs/tracing + +Files: vendor/tracing-tree/* +Copyright: 2020-2020 David Barsky + 2020-2020 Nathan Whitaker +License: MIT OR Apache-2.0 +Comment: see https://github.com/davidbarsky/tracing-tree + +Files: vendor/triomphe/* +Copyright: 2018-2024 The Servo Project Developers +License: MIT OR Apache-2.0 +Comment: see https://github.com/Manishearth/triomphe + +Files: vendor/try-lock/* +Copyright: 2018-2023 Sean McArthur +License: MIT +Comment: see https://github.com/seanmonstar/try-lock + +Files: vendor/twox-hash/* +Copyright: 2015-2022 Jake Goulding +License: MIT +Comment: see https://github.com/shepmaster/twox-hash + +Files: vendor/type-map/* +Copyright: 2019-2022 Jacob Brown +License: MIT or Apache-2.0 +Comment: see https://github.com/kardeiz/type-map + +Files: vendor/typenum/* +Copyright: 2015-2019 Paho Lurie-Gregg + 2015-2019 Andre Bogus +License: MIT or Apache-2.0 +Comment: see https://github.com/paholg/typenum + +Files: vendor/ui_test-0.*/* +Copyright: + 2010-2024 The Rust Project Developers + 2015-2024 Thomas Bracht Laumann Jespersen + 2015-2024 Manish Goregaokar + 2022-2024 Oli Scherer +License: MIT OR Apache-2.0 +Comment: see https://github.com/oli-obk/ui_test + extraction of compiletest-rs from rustc itself + +Files: vendor/unarray/* +Copyright: 2022 Cameron +License: MIT OR Apache-2.0 +Comment: see https://github.com/cameron1024/unarray + +Files: vendor/unicode-bom/* +Copyright: 2018-2023 Phil Booth +License: Apache-2.0 +Comment: see https://gitlab.com/philbooth/unicode-bom + +Files: vendor/unicode-properties/* +Copyright: 2022-2024 Charles Lew + 2022-2024 Manish Goregaokar +License: MIT or Apache-2.0 +Comment: see https://github.com/unicode-rs/unicode-properties + +Files: + vendor/varisat/* + vendor/varisat-checker/* + vendor/varisat-dimacs/* + vendor/varisat-formula/* + vendor/varisat-internal-macros/* + vendor/varisat-internal-proof/* +Copyright: 2018-2022 Jannis Harder +License: MIT or Apache-2.0 +Comment: see https://github.com/jix/varisat + +Files: vendor/vcpkg/* +Copyright: 2017-2024 Jim McGrath +License: MIT or Apache-2.0 +Comment: see https://github.com/mcgoo/vcpkg-rs + +Files: vendor/vec_mut_scan/* +Copyright: 2019-2023 Jannis Harder +License: 0BSD +Comment: see https://github.com/jix/vec_mut_scan + +Files: vendor/version_check/* +Copyright: 2017-2019 Sergio Benitez +License: MIT or Apache-2.0 +Comment: see https://github.com/SergioBenitez/version_check + +Files: vendor/want/* +Copyright: 2018-2023 Sean McArthur +License: MIT +Comment: see https://github.com/seanmonstar/want + +Files: vendor/xz/* +Copyright: 2016-2023 Hyeon Kim + 2016-2023 Alex Crichton +License: MIT or Apache-2.0 +Comment: see https://github.com/alexcrichton/xz2-rs + +Files: + vendor/ucd-parse/* + vendor/ucd-trie/* +Copyright: 2017-2020 Andrew Gallant +License: MIT or Apache-2.0 +Comment: + see https://github.com/BurntSushi/rucd + see https://github.com/BurntSushi/ucd-generate + +Files: vendor/ungrammar/* +Copyright: 2020-2022 Aleksey Kladov +License: MIT OR Apache-2.0 +Comment: see https://github.com/matklad/ungrammar + +Files: vendor/unicase/* +Copyright: 2014-2019 Sean McArthur +License: MIT or Apache-2.0 +Comment: see https://github.com/seanmonstar/unicase + +Files: vendor/unicode_categories/* +Copyright: 2015-2016 Sean Gillespie +License: MIT OR Apache-2.0 +Comment: see https://github.com/swgillespie/unicode-categories + +Files: vendor/unic-*/* +Copyright: 2017-2022 The UNIC Project Developers +License: MIT or Apache-2.0 +Comment: see https://github.com/open-i18n/rust-unic/ + +Files: + vendor/unicode-normalization/* + vendor/unicode-segmentation/* + vendor/unicode-width/* +Copyright: 2015-2019 kwantam +License: MIT or Apache-2.0 +Comment: + see https://github.com/unicode-rs/unicode-normalization + see https://github.com/unicode-rs/unicode-segmentation + see https://github.com/unicode-rs/unicode-width + +Files: vendor/unicode-xid/* +Copyright: 2015-2017 erick.tryzelaar + 2015-2017 kwantam +License: MIT or Apache-2.0 +Comment: see https://github.com/unicode-rs/unicode-xid + +Files: vendor/unicode-script/* +Copyright: 2017-2020 Manish Goregaokar +License: MIT or Apache-2.0 +Comment: see https://github.com/unicode-rs/unicode-script + +Files: vendor/unicode-security/* +Copyright: 2020-2020 Charles Lew + 2020-2020 Manish Goregaokar +License: MIT or Apache-2.0 +Comment: see https://github.com/unicode-rs/unicode-security + +Files: vendor/unified-diff/* +Copyright: 2021-2021 Michael Howell + 2021-2021 The Rust Project Developers +License: MIT OR Apache-2.0 +Comment: see https://github.com/notriddle/rust-unified-diff + +Files: vendor/utf-8/* +Copyright: 2015-2018 Simon Sapin +License: MIT OR Apache-2.0 +Comment: see https://github.com/SimonSapin/rust-utf8 + +Files: vendor/utf8parse/* +Copyright: 2016-2023 Joe Wilm + 2016-2023 Christian Duerr +License: Apache-2.0 OR MIT +Comment: see https://github.com/alacritty/vte + +Files: vendor/uuid/* +Copyright: 2014-2023 Ashley Mannix + 2014-2023 Christopher Armstrong + 2014-2023 Dylan DPC + 2014-2023 Hunar Roop Kahlon +License: Apache-2.0 OR MIT +Comment: see https://github.com/uuid-rs/uuid + +Files: vendor/wait-timeout/* +Copyright: 2015-2021 Alex Crichton +License: MIT or Apache-2.0 +Comment: see https://github.com/alexcrichton/wait-timeout + +Files: vendor/wasi/* +Copyright: 2019-2020 The Cranelift Project Developers +License: Apache-2.0 with LLVM exception or Apache-2.0 or MIT +Comment: see https://github.com/CraneStation/rust-wasi + +Files: vendor/windows-bindgen/* +Copyright: 2019-2024 Microsoft +License: MIT OR Apache-2.0 +Comment: see https://github.com/microsoft/windows-rs + this contains pre-generated files which are also MIT or Apache-2.0 licensed, + see vendor/windows-bindgen/default/readme.md + +Files: vendor/windows-metadata/* +Copyright: Microsoft 2024 +License: MIT or Apache-2.0 +Comment: + see https://github.com/microsoft/windows-rs + +Files: vendor/winnow/* +Copyright: + 2023 winnow contributors + 2014-2023 nom contributors + 2014-2023 Geoffroy Couprie +License: MIT +Comment: see https://github.com/winnow-rs/winnow + +Files: vendor/xattr/* +Copyright: 2015-2017 Steven Allen +License: MIT or Apache-2.0 +Comment: see https://github.com/Stebalien/xattr + +Files: vendor/yansi/* +Copyright: 2017-2022 Sergio Benitez +License: MIT or Apache-2.0 +Comment: see https://github.com/SergioBenitez/yansi + +Files: vendor/yansi-term/* +Copyright: 2014-2020 ogham@bsago.me + 2014-2020 Ryan Scheel (Havvy) + 2014-2020 Josh Triplett + 2014-2020 Juan Aguilar Santillana +License: MIT +Comment: see https://github.com/botika/yansi-term + +Files: vendor/bytes/* +Copyright: 2015-2022 Carl Lerche + 2015-2022 Sean McArthur +License: MIT +Comment: see https://github.com/tokio-rs/bytes + +Files: + vendor/futures/* + vendor/futures-channel/* + vendor/futures-core/* + vendor/futures-executor/* + vendor/futures-io/* + vendor/futures-macro/* + vendor/futures-sink/* + vendor/futures-task/* + vendor/futures-util/* +Copyright: + 2016-2018 Alex Crichton + 2017 The Tokio Authors + 2018-2022 The Rust Project Developers +License: MIT OR Apache-2.0 +Comment: see https://github.com/rust-lang/futures-rs + +Files: vendor/minimal-lexical/* +Copyright: 2020-2022 Alex Huszagh +License: MIT or Apache-2.0 +Comment: see https://github.com/Alexhuszagh/minimal-lexical + +Files: vendor/nom/* +Copyright: 2014-2022 contact@geoffroycouprie.com +License: MIT +Comment: see https://github.com/Geal/nom + +Files: vendor/pin-utils/* +Copyright: 2018-2022 Josef Brandl +License: MIT OR Apache-2.0 +Comment: see https://github.com/rust-lang-nursery/pin-utils + +Files: vendor/slab/* +Copyright: 2015-2022 Carl Lerche +License: MIT +Comment: see https://github.com/carllerche/slab + +Files: vendor/tokio/* +Copyright: 2016-2022 Tokio Contributors +License: MIT +Comment: see https://github.com/tokio-rs/tokio + +Files: vendor/tokio-native-tls/* +Copyright: 2017-2023 Tokio Contributors +License: MIT +Comment: see https://github.com/tokio-rs/tls + +Files: vendor/tokio-util/* +Copyright: 2016-2024 Tokio Contributors +License: MIT +Comment: see https://github.com/tokio-rs/tokio + +Files: vendor/tower-service/* +Copyright: 2016-2023 Tower Maintainers +License: MIT +Comment: see https://github.com/tower-rs/tower + +Files: vendor/valuable/* +Copyright: + 2021 Valuable Contributors + 2021-2022 Carl Lerche + 2021-2022 Taiki Endo +License: MIT +Comment: see https://github.com/tokio-rs/valuable + +Files: vendor/write-json/* +Copyright: 2020-2020 Aleksey Kladov +License: MIT OR Apache-2.0 +Comment: see https://github.com/matklad/write-json + +Files: + vendor/xflags/* + vendor/xflags-macros/* +Copyright: 2021-2022 Aleksey Kladov +License: MIT OR Apache-2.0 +Comment: see https://github.com/matklad/xflags + +Files: + vendor/xshell/* + vendor/xshell-macros/* +Copyright: 2020-2022 Aleksey Kladov +License: MIT OR Apache-2.0 +Comment: see https://github.com/matklad/xshell + +Files: vendor/zip/* +Copyright: 2014-2023 Mathijs van de Nes + 2014-2023 Marli Frost + 2014-2023 Ryan Levick +License: MIT +Comment: see https://github.com/zip-rs/zip.git + +Files: + vendor/icu_list/* + vendor/icu_locid/* + vendor/icu_provider/* + vendor/icu_provider_adapters/* + vendor/icu_provider_macros/* + vendor/litemap/* + vendor/yoke/* + vendor/yoke-derive/* + vendor/writeable/* + vendor/zerofrom/* + vendor/zerofrom-derive/* + vendor/zerovec/* + vendor/zerovec-derive/* +Copyright: 1999-2022 Unicode, Inc. +License: Unicode-Data-Files-and-Software-License +Comment: See https://github.com/unicode-org/icu4x + +Files: debian/* +Copyright: 2013-2018 Debian Rust Maintainers +License: MIT or Apache-2.0 + +Files: debian/icons/rust-logo-32x32-blk.png +Copyright: Mozilla Foundation +License: CC-BY +Comment: + Relevant discussion in https://github.com/rust-lang/rust/issues/11562 + +License: 0BSD + Permission to use, copy, modify, and/or distribute this software for + any purpose with or without fee is hereby granted. + . + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN + AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT + OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +License: Apache-2.0 + On Debian systems, the full text of the Apache License Version 2.0 + can be found in the file `/usr/share/common-licenses/Apache-2.0'. + +License: Apache-2.0 with LLVM exception + On Debian systems, the full text of the Apache License Version 2.0 + can be found in the file `/usr/share/common-licenses/Apache-2.0'. + Additionally, the LLVM exception is as follows: + . + As an exception, if, as a result of your compiling your source code, portions + of this Software are embedded into an Object form of such source code, you + may redistribute such embedded portions in such Object form without complying + with the conditions of Sections 4(a), 4(b) and 4(d) of the License. + . + In addition, if you combine or link compiled forms of this Software with + software that is licensed under the GPLv2 ("Combined Software") and if a + court of competent jurisdiction determines that the patent provision (Section + 3), the indemnity provision (Section 9) or other Section of the License + conflicts with the conditions of the GPLv2, you may retroactively and + prospectively choose to deem waived or otherwise exclude such Section(s) of + the License, but only in their entirety and only with respect to the Combined + Software. + +License: BSD-2-clause + Redistribution and use in source and binary forms, with + or without modification, are permitted provided that the + following conditions are met: + . + 1. Redistributions of source code must retain the above + copyright notice, this list of conditions and the + following disclaimer. + 2. Redistributions in binary form must reproduce the + above copyright notice, this list of conditions and + the following disclaimer in the documentation and/or + other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License: CC0-1.0 + On Debian systems, the full text of the CC0 1.0 Universal + License can be found in the file + `/usr/share/common-licenses/CC0-1.0'. + +License: ISC + Permission to use, copy, modify, and/or distribute this software for any purpose + with or without fee is hereby granted, provided that the above copyright notice + and this permission notice appear in all copies. + . + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS + OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF + THIS SOFTWARE. + +License: MIT + Permission is hereby granted, free of charge, to any + person obtaining a copy of this software and associated + documentation files (the "Software"), to deal in the + Software without restriction, including without + limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of + the Software, and to permit persons to whom the Software + is furnished to do so, subject to the following + conditions: + . + The above copyright notice and this permission notice + shall be included in all copies or substantial portions + of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF + ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED + TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A + PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT + SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR + IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + +License: BSL-1.0 + Permission is hereby granted, free of charge, to any person or organization + obtaining a copy of the software and accompanying documentation covered by + this license (the "Software") to use, reproduce, display, distribute, + execute, and transmit the Software, and to prepare derivative works of the + Software, and to permit third-parties to whom the Software is furnished to + do so, all subject to the following: + . + The copyright notices in the Software and this entire statement, including + the above license grant, this restriction and the following disclaimer, + must be included in all copies of the Software, in whole or in part, and + all derivative works of the Software, unless such copies or derivative + works are solely in the form of machine-executable object code generated by + a source language processor. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT + SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE + FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + +License: BSD-3-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the organization nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY COPYRIGHT HOLDER AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + +License: Unlicense + This is free and unencumbered software released into the public domain. + . + Anyone is free to copy, modify, publish, use, compile, sell, or + distribute this software, either in source code form or as a compiled + binary, for any purpose, commercial or non-commercial, and by any + means. + . + In jurisdictions that recognize copyright laws, the author or authors + of this software dedicate any and all copyright interest in the + software to the public domain. We make this dedication for the + benefit of the public at large and to the detriment of our heirs and + successors. We intend this dedication to be an overt act of + relinquishment in perpetuity of all present and future rights to this + software under copyright law. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + . + For more information, please refer to + +License: SIL-OPEN-FONT + This Font Software is licensed under the SIL Open Font License, + Version 1.1. + . + This license is copied below, and is also available with a FAQ at: + http://scripts.sil.org/OFL + . + SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 + . + PREAMBLE The goals of the Open Font License (OFL) are to stimulate + worldwide development of collaborative font projects, to support the font + creation efforts of academic and linguistic communities, and to provide + a free and open framework in which fonts may be shared and improved in + partnership with others. + . + The OFL allows the licensed fonts to be used, studied, modified and + redistributed freely as long as they are not sold by themselves. + The fonts, including any derivative works, can be bundled, embedded, + redistributed and/or sold with any software provided that any reserved + names are not used by derivative works. The fonts and derivatives, + however, cannot be released under any other type of license. The + requirement for fonts to remain under this license does not apply to + any document created using the fonts or their derivatives. + . + DEFINITIONS + "Font Software" refers to the set of files released by the Copyright + Holder(s) under this license and clearly marked as such. + This may include source files, build scripts and documentation. + . + "Reserved Font Name" refers to any names specified as such after the + copyright statement(s). + . + "Original Version" refers to the collection of Font Software components + as distributed by the Copyright Holder(s). + . + "Modified Version" refers to any derivative made by adding to, deleting, + or substituting ? in part or in whole ? + any of the components of the Original Version, by changing formats or + by porting the Font Software to a new environment. + . + "Author" refers to any designer, engineer, programmer, technical writer + or other person who contributed to the Font Software. + . + PERMISSION & CONDITIONS + . + Permission is hereby granted, free of charge, to any person obtaining a + copy of the Font Software, to use, study, copy, merge, embed, modify, + redistribute, and sell modified and unmodified copies of the Font + Software, subject to the following conditions: + . + 1) Neither the Font Software nor any of its individual components,in + Original or Modified Versions, may be sold by itself. + . + 2) Original or Modified Versions of the Font Software may be bundled, + redistributed and/or sold with any software, provided that each copy + contains the above copyright notice and this license. These can be + included either as stand-alone text files, human-readable headers or + in the appropriate machine-readable metadata fields within text or + binary files as long as those fields can be easily viewed by the user. + . + 3) No Modified Version of the Font Software may use the Reserved Font + Name(s) unless explicit written permission is granted by the + corresponding Copyright Holder. This restriction only applies to the + primary font name as presented to the users. + . + 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font + Software shall not be used to promote, endorse or advertise any + Modified Version, except to acknowledge the contribution(s) of the + Copyright Holder(s) and the Author(s) or with their explicit written + permission. + 5) The Font Software, modified or unmodified, in part or in whole, must + be distributed entirely under this license, and must not be distributed + under any other license. The requirement for fonts to remain under + this license does not apply to any document created using the Font + Software. + . + TERMINATION + This license becomes null and void if any of the above conditions are not met. + . + DISCLAIMER + THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT + OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE + COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL + DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF THE USE OR INABILITY + +License: GPL-2+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + . + On Debian systems, see /usr/share/common-licenses/GPL-2 for the full + text of the GPL version 2. + +License: CC-BY + Attribution 4.0 International + . + ======================================================================= + . + Creative Commons Corporation ("Creative Commons") is not a law firm and + does not provide legal services or legal advice. Distribution of + Creative Commons public licenses does not create a lawyer-client or + other relationship. Creative Commons makes its licenses and related + information available on an "as-is" basis. Creative Commons gives no + warranties regarding its licenses, any material licensed under their + terms and conditions, or any related information. Creative Commons + disclaims all liability for damages resulting from their use to the + fullest extent possible. + . + Using Creative Commons Public Licenses + . + Creative Commons public licenses provide a standard set of terms and + conditions that creators and other rights holders may use to share + original works of authorship and other material subject to copyright + and certain other rights specified in the public license below. The + following considerations are for informational purposes only, are not + exhaustive, and do not form part of our licenses. + . + Considerations for licensors: Our public licenses are + intended for use by those authorized to give the public + permission to use material in ways otherwise restricted by + copyright and certain other rights. Our licenses are + irrevocable. Licensors should read and understand the terms + and conditions of the license they choose before applying it. + Licensors should also secure all rights necessary before + applying our licenses so that the public can reuse the + material as expected. Licensors should clearly mark any + material not subject to the license. This includes other CC- + licensed material, or material used under an exception or + limitation to copyright. More considerations for licensors: + wiki.creativecommons.org/Considerations_for_licensors + . + Considerations for the public: By using one of our public + licenses, a licensor grants the public permission to use the + licensed material under specified terms and conditions. If + the licensor's permission is not necessary for any reason--for + example, because of any applicable exception or limitation to + copyright--then that use is not regulated by the license. Our + licenses grant only permissions under copyright and certain + other rights that a licensor has authority to grant. Use of + the licensed material may still be restricted for other + reasons, including because others have copyright or other + rights in the material. A licensor may make special requests, + such as asking that all changes be marked or described. + Although not required by our licenses, you are encouraged to + respect those requests where reasonable. More_considerations + for the public: + wiki.creativecommons.org/Considerations_for_licensees + . + ======================================================================= + . + Creative Commons Attribution 4.0 International Public License + . + By exercising the Licensed Rights (defined below), You accept and agree + to be bound by the terms and conditions of this Creative Commons + Attribution 4.0 International Public License ("Public License"). To the + extent this Public License may be interpreted as a contract, You are + granted the Licensed Rights in consideration of Your acceptance of + these terms and conditions, and the Licensor grants You such rights in + consideration of benefits the Licensor receives from making the + Licensed Material available under these terms and conditions. + . + . + Section 1 -- Definitions. + . + a. Adapted Material means material subject to Copyright and Similar + Rights that is derived from or based upon the Licensed Material + and in which the Licensed Material is translated, altered, + arranged, transformed, or otherwise modified in a manner requiring + permission under the Copyright and Similar Rights held by the + Licensor. For purposes of this Public License, where the Licensed + Material is a musical work, performance, or sound recording, + Adapted Material is always produced where the Licensed Material is + synched in timed relation with a moving image. + . + b. Adapter's License means the license You apply to Your Copyright + and Similar Rights in Your contributions to Adapted Material in + accordance with the terms and conditions of this Public License. + . + c. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or + categorized. For purposes of this Public License, the rights + specified in Section 2(b)(1)-(2) are not Copyright and Similar + Rights. + . + d. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright + Treaty adopted on December 20, 1996, and/or similar international + agreements. + . + e. Exceptions and Limitations means fair use, fair dealing, and/or + any other exception or limitation to Copyright and Similar Rights + that applies to Your use of the Licensed Material. + . + f. Licensed Material means the artistic or literary work, database, + or other material to which the Licensor applied this Public + License. + . + g. Licensed Rights means the rights granted to You subject to the + terms and conditions of this Public License, which are limited to + all Copyright and Similar Rights that apply to Your use of the + Licensed Material and that the Licensor has authority to license. + . + h. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + . + i. Share means to provide material to the public by any means or + process that requires permission under the Licensed Rights, such + as reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the + public may access the material from a place and at a time + individually chosen by them. + . + j. Sui Generis Database Rights means rights other than copyright + resulting from Directive 96/9/EC of the European Parliament and of + the Council of 11 March 1996 on the legal protection of databases, + as amended and/or succeeded, as well as other essentially + equivalent rights anywhere in the world. + . + k. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + . + . + Section 2 -- Scope. + . + a. License grant. + . + 1. Subject to the terms and conditions of this Public License, + the Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to + exercise the Licensed Rights in the Licensed Material to: + . + a. reproduce and Share the Licensed Material, in whole or + in part; and + . + b. produce, reproduce, and Share Adapted Material. + . + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public + License does not apply, and You do not need to comply with + its terms and conditions. + . + 3. Term. The term of this Public License is specified in Section + 6(a). + . + 4. Media and formats; technical modifications allowed. The + Licensor authorizes You to exercise the Licensed Rights in + all media and formats whether now known or hereafter created, + and to make technical modifications necessary to do so. The + Licensor waives and/or agrees not to assert any right or + authority to forbid You from making technical modifications + necessary to exercise the Licensed Rights, including + technical modifications necessary to circumvent Effective + Technological Measures. For purposes of this Public License, + simply making modifications authorized by this Section 2(a) + (4) never produces Adapted Material. + . + 5. Downstream recipients. + . + a. Offer from the Licensor -- Licensed Material. Every + recipient of the Licensed Material automatically + receives an offer from the Licensor to exercise the + Licensed Rights under the terms and conditions of this + Public License. + . + b. No downstream restrictions. You may not offer or impose + any additional or different terms or conditions on, or + apply any Effective Technological Measures to, the + Licensed Material if doing so restricts exercise of the + Licensed Rights by any recipient of the Licensed + Material. + . + 6. No endorsement. Nothing in this Public License constitutes or + may be construed as permission to assert or imply that You + are, or that Your use of the Licensed Material is, connected + with, or sponsored, endorsed, or granted official status by, + the Licensor or others designated to receive attribution as + provided in Section 3(a)(1)(A)(i). + . + b. Other rights. + . + 1. Moral rights, such as the right of integrity, are not + licensed under this Public License, nor are publicity, + privacy, and/or other similar personality rights; however, to + the extent possible, the Licensor waives and/or agrees not to + assert any such rights held by the Licensor to the limited + extent necessary to allow You to exercise the Licensed + Rights, but not otherwise. + . + 2. Patent and trademark rights are not licensed under this + Public License. + . + 3. To the extent possible, the Licensor waives any right to + collect royalties from You for the exercise of the Licensed + Rights, whether directly or through a collecting society + under any voluntary or waivable statutory or compulsory + licensing scheme. In all other cases the Licensor expressly + reserves any right to collect such royalties. + . + . + Section 3 -- License Conditions. + . + Your exercise of the Licensed Rights is expressly made subject to the + following conditions. + . + a. Attribution. + . + 1. If You Share the Licensed Material (including in modified + form), You must: + . + a. retain the following if it is supplied by the Licensor + with the Licensed Material: + . + i. identification of the creator(s) of the Licensed + Material and any others designated to receive + attribution, in any reasonable manner requested by + the Licensor (including by pseudonym if + designated); + . + ii. a copyright notice; + . + iii. a notice that refers to this Public License; + . + iv. a notice that refers to the disclaimer of + warranties; + . + v. a URI or hyperlink to the Licensed Material to the + extent reasonably practicable; + . + b. indicate if You modified the Licensed Material and + retain an indication of any previous modifications; and + . + c. indicate the Licensed Material is licensed under this + Public License, and include the text of, or the URI or + hyperlink to, this Public License. + . + 2. You may satisfy the conditions in Section 3(a)(1) in any + reasonable manner based on the medium, means, and context in + which You Share the Licensed Material. For example, it may be + reasonable to satisfy the conditions by providing a URI or + hyperlink to a resource that includes the required + information. + . + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent + reasonably practicable. + . + 4. If You Share Adapted Material You produce, the Adapter's + License You apply must not prevent recipients of the Adapted + Material from complying with this Public License. + . + . + Section 4 -- Sui Generis Database Rights. + . + Where the Licensed Rights include Sui Generis Database Rights that + apply to Your use of the Licensed Material: + . + a. for the avoidance of doubt, Section 2(a)(1) grants You the right + to extract, reuse, reproduce, and Share all or a substantial + portion of the contents of the database; + . + b. if You include all or a substantial portion of the database + contents in a database in which You have Sui Generis Database + Rights, then the database in which You have Sui Generis Database + Rights (but not its individual contents) is Adapted Material; and + . + c. You must comply with the conditions in Section 3(a) if You Share + all or a substantial portion of the contents of the database. + . + For the avoidance of doubt, this Section 4 supplements and does not + replace Your obligations under this Public License where the Licensed + Rights include other Copyright and Similar Rights. + . + . + Section 5 -- Disclaimer of Warranties and Limitation of Liability. + . + a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE + EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS + AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF + ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, + IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, + WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, + ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT + KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT + ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. + . + b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE + TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, + NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, + INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, + COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR + USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR + DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR + IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. + . + c. The disclaimer of warranties and limitation of liability provided + above shall be interpreted in a manner that, to the extent + possible, most closely approximates an absolute disclaimer and + waiver of all liability. + . + . + Section 6 -- Term and Termination. + . + a. This Public License applies for the term of the Copyright and + Similar Rights licensed here. However, if You fail to comply with + this Public License, then Your rights under this Public License + terminate automatically. + . + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + . + 1. automatically as of the date the violation is cured, provided + it is cured within 30 days of Your discovery of the + violation; or + . + 2. upon express reinstatement by the Licensor. + . + For the avoidance of doubt, this Section 6(b) does not affect any + right the Licensor may have to seek remedies for Your violations + of this Public License. + . + c. For the avoidance of doubt, the Licensor may also offer the + Licensed Material under separate terms or conditions or stop + distributing the Licensed Material at any time; however, doing so + will not terminate this Public License. + . + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + . + . + Section 7 -- Other Terms and Conditions. + . + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + . + b. Any arrangements, understandings, or agreements regarding the + Licensed Material not stated herein are separate from and + independent of the terms and conditions of this Public License. + . + . + Section 8 -- Interpretation. + . + a. For the avoidance of doubt, this Public License does not, and + shall not be interpreted to, reduce, limit, restrict, or impose + conditions on any use of the Licensed Material that could lawfully + be made without permission under this Public License. + . + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the + minimum extent necessary to make it enforceable. If the provision + cannot be reformed, it shall be severed from this Public License + without affecting the enforceability of the remaining terms and + conditions. + . + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the + Licensor. + . + d. Nothing in this Public License constitutes or may be interpreted + as a limitation upon, or waiver of, any privileges and immunities + that apply to the Licensor or You, including from the legal + processes of any jurisdiction or authority. + . + . + ======================================================================= + . + Creative Commons is not a party to its public licenses. + Notwithstanding, Creative Commons may elect to apply one of its public + licenses to material it publishes and in those instances will be + considered the "Licensor." Except for the limited purpose of indicating + that material is shared under a Creative Commons public license or as + otherwise permitted by the Creative Commons policies published at + creativecommons.org/policies, Creative Commons does not authorize the + use of the trademark "Creative Commons" or any other trademark or logo + of Creative Commons without its prior written consent including, + without limitation, in connection with any unauthorized modifications + to any of its public licenses or any other arrangements, + understandings, or agreements concerning use of licensed material. For + the avoidance of doubt, this paragraph does not form part of the public + licenses. + . + Creative Commons may be contacted at creativecommons.org. + +License: MPL-2.0 + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at http://mozilla.org/MPL/2.0/. + . + On Debian systems, see /usr/share/common-licenses/MPL-2.0 for the full + text of the MPL version 2.0. + +License: Zlib + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + . + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + . + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + +License: Unicode-Data-Files-and-Software-License + UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE + . + See Terms of Use + for definitions of Unicode Inc.’s Data Files and Software. + . + NOTICE TO USER: Carefully read the following legal agreement. + BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S + DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"), + YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE + TERMS AND CONDITIONS OF THIS AGREEMENT. + IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE + THE DATA FILES OR SOFTWARE. + . + COPYRIGHT AND PERMISSION NOTICE + . + Copyright © 1991-2022 Unicode, Inc. All rights reserved. + Distributed under the Terms of Use in https://www.unicode.org/copyright.html. + . + Permission is hereby granted, free of charge, to any person obtaining + a copy of the Unicode data files and any associated documentation + (the "Data Files") or Unicode software and any associated documentation + (the "Software") to deal in the Data Files or Software + without restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, and/or sell copies of + the Data Files or Software, and to permit persons to whom the Data Files + or Software are furnished to do so, provided that either + (a) this copyright and permission notice appear with all copies + of the Data Files or Software, or + (b) this copyright and permission notice appear in associated + Documentation. + . + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF + ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT OF THIRD PARTY RIGHTS. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS + NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL + DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, + DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THE DATA FILES OR SOFTWARE. + . + Except as contained in this notice, the name of a copyright holder + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in these Data Files or Software without prior + written authorization of the copyright holder. + +License: BSD-1-Clause-fiat-crypto + Copyright (c) 2015-2020 the fiat-crypto authors (see the AUTHORS file) + All rights reserved. + . + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + . + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + . + THIS SOFTWARE IS PROVIDED BY the fiat-crypto authors "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, + THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Berkeley Software Design, + Inc. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + diff --git a/docs b/docs new file mode 100644 index 0000000000..b43bf86b50 --- /dev/null +++ b/docs @@ -0,0 +1 @@ +README.md diff --git a/ensure-patch b/ensure-patch new file mode 100755 index 0000000000..b8562f2d93 --- /dev/null +++ b/ensure-patch @@ -0,0 +1,15 @@ +#!/bin/sh +set -e + +case "$1" in +"-N") fwd=-N; rev=-R; verb="applied";; +"-R") fwd=-R; rev=-N; verb="reversed";; +*) echo >&2 "Usage: $0 <-N|-R> "; exit 2;; +esac + +if patch --dry-run -F0 -f $rev -p1 < "$2" >/dev/null; then + echo >&2 "patch already $verb: $2" + exit 0 +fi +patch --dry-run -F0 -f $fwd -p1 < "$2" +patch -F0 -f $fwd -p1 < "$2" diff --git a/gbp.conf b/gbp.conf new file mode 100644 index 0000000000..d26455b68c --- /dev/null +++ b/gbp.conf @@ -0,0 +1,8 @@ +[DEFAULT] +pristine-tar = True +ignore-branch = True +#component = extra + +[import-orig] +upstream-branch = upstream/experimental +debian-branch = debian/experimental diff --git a/get-stage0.py b/get-stage0.py new file mode 100755 index 0000000000..49f8066ca0 --- /dev/null +++ b/get-stage0.py @@ -0,0 +1,38 @@ +#!/usr/bin/python3 +# Sometimes this might fail due to upstream changes. +# In that case, you probably just need to override the failing step in our +# DownloadOnlyRustBuild class below. + +import shutil +import sys + +import bootstrap +from bootstrap import RustBuild + +class DownloadOnlyRustBuild(RustBuild): + triple = None + def build_bootstrap(self, color, verbose_count): + pass + def run(self, *args): + pass + def build_triple(self): + return self.triple + def update_submodules(self): + pass + def bootstrap_binary(self): + return "true" + +def main(argv): + triple = argv.pop(1) + DownloadOnlyRustBuild.triple = triple + bootstrap.RustBuild = DownloadOnlyRustBuild + args = bootstrap.parse_args() + # bootstrap.py likes to delete our .cargo directory out from under us + shutil.move(".cargo", ".cargo-bak") + try: + bootstrap.bootstrap(args) + finally: + shutil.move(".cargo-bak", ".cargo") + +if __name__ == '__main__': + main(sys.argv) diff --git a/icons/rust-logo-32x32-blk.png b/icons/rust-logo-32x32-blk.png new file mode 100644 index 0000000000..9cc1452e37 Binary files /dev/null and b/icons/rust-logo-32x32-blk.png differ diff --git a/libstd-rust-1.74.install b/libstd-rust-1.74.install new file mode 100644 index 0000000000..cd4545cca3 --- /dev/null +++ b/libstd-rust-1.74.install @@ -0,0 +1 @@ +usr/lib/${DEB_HOST_MULTIARCH}/ diff --git a/libstd-rust-1.74.lintian-overrides b/libstd-rust-1.74.lintian-overrides new file mode 100644 index 0000000000..db96cfcf80 --- /dev/null +++ b/libstd-rust-1.74.lintian-overrides @@ -0,0 +1,16 @@ +# "libstd" just seemed too generic +libstd-rust-1.74 binary: package-name-doesnt-match-sonames +libstd-rust-1.74 binary: sharedobject-in-library-directory-missing-soname + +# Rust doesn't use dev shlib symlinks nor any of the other shlib support stuff +libstd-rust-1.74 binary: dev-pkg-without-shlib-symlink +libstd-rust-1.74 binary: shlib-without-versioned-soname +libstd-rust-1.74 binary: unused-shlib-entry-in-control-file + +# can trigger if all its so files' hashes start with a latter and not a digit +libstd-rust-1.74 binary: empty-shlibs + +# Libraries that use libc symbols (libterm, libstd, etc) *are* linked +# to libc. Lintian gets upset that some Rust libraries don't need +# libc, boo hoo. +libstd-rust-1.74 binary: library-not-linked-against-libc diff --git a/libstd-rust-1.74.triggers b/libstd-rust-1.74.triggers new file mode 100644 index 0000000000..a88c20f92b --- /dev/null +++ b/libstd-rust-1.74.triggers @@ -0,0 +1,2 @@ +# normally added by dh_makeshlibs, but fails for our versioning scheme +activate-noawait ldconfig diff --git a/libstd-rust-dev-wasm32.install b/libstd-rust-dev-wasm32.install new file mode 100644 index 0000000000..a2949f140c --- /dev/null +++ b/libstd-rust-dev-wasm32.install @@ -0,0 +1 @@ +usr/lib/rustlib/wasm32-*/lib/ diff --git a/libstd-rust-dev-wasm32.lintian-overrides b/libstd-rust-dev-wasm32.lintian-overrides new file mode 100644 index 0000000000..2664d9cf30 --- /dev/null +++ b/libstd-rust-dev-wasm32.lintian-overrides @@ -0,0 +1,6 @@ +# wasm object files count as arch-independent for now, +# at least until we starting offering Debian in wasm +libstd-rust-dev-wasm32 binary: arch-independent-package-contains-binary-or-object * + +# lintian doesn't understand rlib files +libstd-rust-dev-wasm32 binary: no-code-sections * diff --git a/libstd-rust-dev-windows.install b/libstd-rust-dev-windows.install new file mode 100644 index 0000000000..1a0734fa9e --- /dev/null +++ b/libstd-rust-dev-windows.install @@ -0,0 +1 @@ +usr/lib/rustlib/${env:WINDOWS_ARCH}-pc-windows-gnu/lib/ diff --git a/libstd-rust-dev-windows.lintian-overrides b/libstd-rust-dev-windows.lintian-overrides new file mode 100644 index 0000000000..8ab4804c56 --- /dev/null +++ b/libstd-rust-dev-windows.lintian-overrides @@ -0,0 +1,8 @@ +# lintian does not know about rust arch-specific directories +libstd-rust-dev-windows binary: arch-dependent-file-not-in-arch-specific-directory [usr/lib/rustlib/*/lib/lib*.rlib] +libstd-rust-dev-windows binary: arch-dependent-file-not-in-arch-specific-directory [usr/lib/rustlib/*/lib/lib*.a] +libstd-rust-dev-windows binary: executable-not-elf-or-script [usr/lib/rustlib/*/lib/*.dll] + +# lintian doesn't understand these files +libstd-rust-dev-windows binary: no-code-sections [*.rlib] +libstd-rust-dev-windows binary: no-code-sections [usr/lib/rustlib/*-pc-windows-gnu/lib/lib*.dll.a] diff --git a/libstd-rust-dev.install b/libstd-rust-dev.install new file mode 100644 index 0000000000..399e4c0754 --- /dev/null +++ b/libstd-rust-dev.install @@ -0,0 +1 @@ +usr/lib/rustlib/${env:DEB_HOST_RUST_TYPE}/lib/ diff --git a/libstd-rust-dev.lintian-overrides b/libstd-rust-dev.lintian-overrides new file mode 100644 index 0000000000..33ea50b57e --- /dev/null +++ b/libstd-rust-dev.lintian-overrides @@ -0,0 +1,11 @@ +# lintian does not know about rust arch-specific directories +libstd-rust-dev binary: arch-dependent-file-not-in-arch-specific-directory [usr/lib/rustlib/*/lib/lib*.rlib] +libstd-rust-dev binary: breakout-link usr/lib/rustlib/*/lib/lib*.so -> usr/lib/*/lib*.so + +# lintian doesn't understand rlib files +libstd-rust-dev binary: no-code-sections [*.rlib] + +# See debhelper bug #875780. This override is commented out because it's not +# always needed, but we want it here for documentation purposes. Basically, +# if you see it then you probably don't need to worry about it. +#libstd-rust-dev binary: unstripped-static-library usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/lib*.rlib(*) diff --git a/lintian-to-copyright.sh b/lintian-to-copyright.sh new file mode 100755 index 0000000000..866e31bcd0 --- /dev/null +++ b/lintian-to-copyright.sh @@ -0,0 +1,5 @@ +#!/bin/sh +# Pipe the output of lintian into this. +sed -ne 's/.* file-without-copyright-information //p' | cut -d/ -f1-2 | sort -u | while read x; do + debian/scripts/guess-crate-copyright "$x" +done diff --git a/llvm-upstream-patch.sh b/llvm-upstream-patch.sh new file mode 100755 index 0000000000..fc87971361 --- /dev/null +++ b/llvm-upstream-patch.sh @@ -0,0 +1,9 @@ +#!/bin/sh +# Run this on https://github.com/llvm-mirror/llvm +# Or another repo where the above is the "upstream" remote +set -e +head=$(git rev-parse --verify -q remotes/upstream/master || git rev-parse --verify -q remotes/origin/master) +test -n "$head" +for i in "$@"; do + git show $(git rev-list "$head" -n1 --grep='git-svn-id: .*@'"$i") > rL"$i".patch +done diff --git a/make_orig-stage0_tarball.sh b/make_orig-stage0_tarball.sh new file mode 100755 index 0000000000..d3f6ee38f2 --- /dev/null +++ b/make_orig-stage0_tarball.sh @@ -0,0 +1,48 @@ +#!/bin/sh +# See README.Debian "Bootstrapping" for details. +# +# You may want to use `debian/rules source_orig-stage0` instead of calling this +# directly. + +set -e + +upstream_version="$(dpkg-parsechangelog -SVersion | sed -e 's/\(.*\)-.*/\1/g')" +upstream_bootstrap_arch="${upstream_bootstrap_arch:-amd64 arm64 armhf i386 mips64el ppc64el riscv64 s390x}" + +rm -f stage0/*/*.sha256 +mkdir -p stage0 build && ln -sf ../stage0 build/cache +if [ -n "$(find stage0/ -type f)" ]; then + echo >&2 "$0: NOTE: extra artifacts in stage0/ will be included:" + find stage0/ -type f +fi +for deb_host_arch in $upstream_bootstrap_arch; do + make -s --no-print-directory -f debian/architecture-test.mk "rust-for-deb_${deb_host_arch}" | { + read deb_host_arch rust_triplet + PYTHONPATH=src/bootstrap debian/get-stage0.py "${rust_triplet}" + rm -rf "${rust_triplet}" + } +done + +echo >&2 "building stage0 tar file now, this will take a while..." +stamp=@${SOURCE_DATE_EPOCH:-$(date +%s)} +touch --date="$stamp" stage0/dpkg-source-dont-rename-parent-directory +tar --mtime="$stamp" --clamp-mtime \ + --owner=root --group=root \ + -cJf "../rustc_${upstream_version}.orig-stage0.tar.xz" \ + --transform "s/^stage0\///" \ + stage0/* + +rm -f src/bootstrap/bootstrap.pyc + +cat < text.length) { + // Something went terribly wrong, ABORT, ABORT! + break tokenloop; + } + + if (str instanceof Token) { + continue; + } + + pattern.lastIndex = 0; + + var match = pattern.exec(str); + + if (match) { + if(lookbehind) { + lookbehindLength = match[1].length; + } + + var from = match.index - 1 + lookbehindLength, + match = match[0].slice(lookbehindLength), + len = match.length, + to = from + len, + before = str.slice(0, from + 1), + after = str.slice(to + 1); + + var args = [i, 1]; + + if (before) { + args.push(before); + } + + var wrapped = new Token(token, inside? _.tokenize(match, inside) : match, alias); + + args.push(wrapped); + + if (after) { + args.push(after); + } + + Array.prototype.splice.apply(strarr, args); + } + } + } + } + + return strarr; + }, + + hooks: { + all: {}, + + add: function (name, callback) { + var hooks = _.hooks.all; + + hooks[name] = hooks[name] || []; + + hooks[name].push(callback); + }, + + run: function (name, env) { + var callbacks = _.hooks.all[name]; + + if (!callbacks || !callbacks.length) { + return; + } + + for (var i=0, callback; callback = callbacks[i++];) { + callback(env); + } + } + } +}; + +var Token = _.Token = function(type, content, alias) { + this.type = type; + this.content = content; + this.alias = alias; +}; + +Token.stringify = function(o, language, parent) { + if (typeof o == 'string') { + return o; + } + + if (_.util.type(o) === 'Array') { + return o.map(function(element) { + return Token.stringify(element, language, o); + }).join(''); + } + + var env = { + type: o.type, + content: Token.stringify(o.content, language, parent), + tag: 'span', + classes: ['token', o.type], + attributes: {}, + language: language, + parent: parent + }; + + if (env.type == 'comment') { + env.attributes['spellcheck'] = 'true'; + } + + if (o.alias) { + var aliases = _.util.type(o.alias) === 'Array' ? o.alias : [o.alias]; + Array.prototype.push.apply(env.classes, aliases); + } + + _.hooks.run('wrap', env); + + var attributes = ''; + + for (var name in env.attributes) { + attributes += name + '="' + (env.attributes[name] || '') + '"'; + } + + return '<' + env.tag + ' class="' + env.classes.join(' ') + '" ' + attributes + '>' + env.content + ''; + +}; + +if (!_self.document) { + if (!_self.addEventListener) { + // in Node.js + return _self.Prism; + } + // In worker + _self.addEventListener('message', function(evt) { + var message = JSON.parse(evt.data), + lang = message.language, + code = message.code; + + _self.postMessage(JSON.stringify(_.util.encode(_.tokenize(code, _.languages[lang])))); + _self.close(); + }, false); + + return _self.Prism; +} + +// Get current script and highlight +var script = document.getElementsByTagName('script'); + +script = script[script.length - 1]; + +if (script) { + _.filename = script.src; + + if (document.addEventListener && !script.hasAttribute('data-manual')) { + document.addEventListener('DOMContentLoaded', _.highlightAll); + } +} + +return _self.Prism; + +})(); + +if (typeof module !== 'undefined' && module.exports) { + module.exports = Prism; +} +; +Prism.languages.markup = { + 'comment': //, + 'prolog': /<\?[\w\W]+?\?>/, + 'doctype': //, + 'cdata': //i, + 'tag': { + pattern: /<\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\\1|\\?(?!\1)[\w\W])*\1|[^\s'">=]+))?)*\s*\/?>/i, + inside: { + 'tag': { + pattern: /^<\/?[^\s>\/]+/i, + inside: { + 'punctuation': /^<\/?/, + 'namespace': /^[^\s>\/:]+:/ + } + }, + 'attr-value': { + pattern: /=(?:('|")[\w\W]*?(\1)|[^\s>]+)/i, + inside: { + 'punctuation': /[=>"']/ + } + }, + 'punctuation': /\/?>/, + 'attr-name': { + pattern: /[^\s>\/]+/, + inside: { + 'namespace': /^[^\s>\/:]+:/ + } + } + + } + }, + 'entity': /&#?[\da-z]{1,8};/i +}; + +// Plugin to make entity title show the real entity, idea by Roman Komarov +Prism.hooks.add('wrap', function(env) { + + if (env.type === 'entity') { + env.attributes['title'] = env.content.replace(/&/, '&'); + } +}); +; +Prism.languages.css = { + 'comment': /\/\*[\w\W]*?\*\//, + 'atrule': { + pattern: /@[\w-]+?.*?(;|(?=\s*\{))/i, + inside: { + 'rule': /@[\w-]+/ + // See rest below + } + }, + 'url': /url\((?:(["'])(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1|.*?)\)/i, + 'selector': /[^\{\}\s][^\{\};]*?(?=\s*\{)/, + 'string': /("|')(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1/, + 'property': /(\b|\B)[\w-]+(?=\s*:)/i, + 'important': /\B!important\b/i, + 'function': /[-a-z0-9]+(?=\()/i, + 'punctuation': /[(){};:]/ +}; + +Prism.languages.css['atrule'].inside.rest = Prism.util.clone(Prism.languages.css); + +if (Prism.languages.markup) { + Prism.languages.insertBefore('markup', 'tag', { + 'style': { + pattern: /[\w\W]*?<\/style>/i, + inside: { + 'tag': { + pattern: /|<\/style>/i, + inside: Prism.languages.markup.tag.inside + }, + rest: Prism.languages.css + }, + alias: 'language-css' + } + }); + + Prism.languages.insertBefore('inside', 'attr-value', { + 'style-attr': { + pattern: /\s*style=("|').*?\1/i, + inside: { + 'attr-name': { + pattern: /^\s*style/i, + inside: Prism.languages.markup.tag.inside + }, + 'punctuation': /^\s*=\s*['"]|['"]\s*$/, + 'attr-value': { + pattern: /.+/i, + inside: Prism.languages.css + } + }, + alias: 'language-css' + } + }, Prism.languages.markup.tag); +}; +Prism.languages.clike = { + 'comment': [ + { + pattern: /(^|[^\\])\/\*[\w\W]*?\*\//, + lookbehind: true + }, + { + pattern: /(^|[^\\:])\/\/.*/, + lookbehind: true + } + ], + 'string': /("|')(\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/, + 'class-name': { + pattern: /((?:(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[a-z0-9_\.\\]+/i, + lookbehind: true, + inside: { + punctuation: /(\.|\\)/ + } + }, + 'keyword': /\b(if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/, + 'boolean': /\b(true|false)\b/, + 'function': /[a-z0-9_]+(?=\()/i, + 'number': /\b-?(0x[\dA-Fa-f]+|\d*\.?\d+([Ee]-?\d+)?)\b/, + 'operator': /[-+]{1,2}|!|<=?|>=?|={1,3}|&{1,2}|\|?\||\?|\*|\/|~|\^|%/, + 'punctuation': /[{}[\];(),.:]/ +}; +; +Prism.languages.javascript = Prism.languages.extend('clike', { + 'keyword': /\b(as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/, + 'number': /\b-?(0x[\dA-Fa-f]+|0b[01]+|0o[0-7]+|\d*\.?\d+([Ee][+-]?\d+)?|NaN|Infinity)\b/, + 'function': /(?!\d)[a-z0-9_$]+(?=\()/i +}); + +Prism.languages.insertBefore('javascript', 'keyword', { + 'regex': { + pattern: /(^|[^/])\/(?!\/)(\[.+?]|\\.|[^/\\\r\n])+\/[gimyu]{0,5}(?=\s*($|[\r\n,.;})]))/, + lookbehind: true + } +}); + +Prism.languages.insertBefore('javascript', 'class-name', { + 'template-string': { + pattern: /`(?:\\`|\\?[^`])*`/, + inside: { + 'interpolation': { + pattern: /\$\{[^}]+\}/, + inside: { + 'interpolation-punctuation': { + pattern: /^\$\{|\}$/, + alias: 'punctuation' + }, + rest: Prism.languages.javascript + } + }, + 'string': /[\s\S]+/ + } + } +}); + +if (Prism.languages.markup) { + Prism.languages.insertBefore('markup', 'tag', { + 'script': { + pattern: /[\w\W]*?<\/script>/i, + inside: { + 'tag': { + pattern: /|<\/script>/i, + inside: Prism.languages.markup.tag.inside + }, + rest: Prism.languages.javascript + }, + alias: 'language-javascript' + } + }); +} +; diff --git a/not-installed b/not-installed new file mode 100644 index 0000000000..67d85a2dca --- /dev/null +++ b/not-installed @@ -0,0 +1,18 @@ +# rust-installer stuff, not relevant for Debian +usr/lib/rustlib/components +usr/lib/rustlib/install.log +usr/lib/rustlib/manifest-* +usr/lib/rustlib/rust-installer-version +usr/lib/rustlib/uninstall.sh + +# redundant copy of llvm-dwp, we already link it in rustc.links +usr/lib/rustlib/*/bin/rust-llvm-dwp + +# docs, we already install into /usr/share/doc/rustc +usr/share/doc/rust/* + +# should be claimed by dh_bash-completion +etc/bash_completion.d/cargo + +# backup files from the previous stages +usr/bin/*.old diff --git a/patches/c-0003-tests-add-missing-cross-disabled-checks.patch b/patches/c-0003-tests-add-missing-cross-disabled-checks.patch new file mode 100644 index 0000000000..e3a6397d56 --- /dev/null +++ b/patches/c-0003-tests-add-missing-cross-disabled-checks.patch @@ -0,0 +1,46 @@ +From 981279ccd8f7855faaed010bff0891afff588210 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= + +Date: Sat, 19 Nov 2022 10:24:08 +0100 +Subject: [PATCH] tests: add missing cross disabled checks +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +cross_conmpile::alternate states it should only be used in test cases +after checking cross_compile::disabled(), which is missing here. these +tests fail despite setting CFG_DISABLE_CROSS_TESTS on i386, since both +the host and the alternate cross target would be i686 in that case. + +Signed-off-by: Fabian Grünbichler +--- + tests/testsuite/build_script.rs | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/tests/testsuite/build_script.rs b/tests/testsuite/build_script.rs +index 902364dff..e458b3262 100644 +--- a/src/tools/cargo/tests/testsuite/build_script.rs ++++ b/src/tools/cargo/tests/testsuite/build_script.rs +@@ -697,6 +697,9 @@ fn custom_build_linker_bad_host_with_arc + #[cargo_test] + fn custom_build_env_var_rustc_linker_cross_arch_host() { + let target = rustc_host(); ++ if cross_compile::disabled() { ++ return; ++ } + let cross_target = cross_compile::alternate(); + let p = project() + .file( +@@ -735,6 +738,9 @@ fn custom_build_env_var_rustc_linker_cro + #[cargo_test] + fn custom_build_linker_bad_cross_arch_host() { + let target = rustc_host(); ++ if cross_compile::disabled() { ++ return; ++ } + let cross_target = cross_compile::alternate(); + let p = project() + .file( +-- +2.38.1 + diff --git a/patches/c-2002_disable-net-tests.patch b/patches/c-2002_disable-net-tests.patch new file mode 100644 index 0000000000..76f158538f --- /dev/null +++ b/patches/c-2002_disable-net-tests.patch @@ -0,0 +1,588 @@ +Description: Disable network tests +Author: Ximin Luo +Forwarded: TODO +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: rust/src/tools/cargo/tests/testsuite/git_auth.rs +=================================================================== +--- rust.orig/src/tools/cargo/tests/testsuite/git_auth.rs ++++ rust/src/tools/cargo/tests/testsuite/git_auth.rs +@@ -103,7 +103,7 @@ fn setup_failed_auth_test() -> (SocketAd + } + + // Tests that HTTP auth is offered from `credential.helper`. +-#[cargo_test] ++#[allow(dead_code)] + fn http_auth_offered() { + // TODO(Seb): remove this once possible. + if cargo_uses_gitoxide() { +@@ -172,7 +172,7 @@ Caused by: + } + + // Boy, sure would be nice to have a TLS implementation in rust! +-#[cargo_test] ++#[allow(dead_code)] + fn https_something_happens() { + let server = TcpListener::bind("127.0.0.1:0").unwrap(); + let addr = server.local_addr().unwrap(); +Index: rust/src/tools/cargo/tests/testsuite/net_config.rs +=================================================================== +--- rust.orig/src/tools/cargo/tests/testsuite/net_config.rs ++++ rust/src/tools/cargo/tests/testsuite/net_config.rs +@@ -2,7 +2,7 @@ + + use cargo_test_support::project; + +-#[cargo_test] ++#[allow(dead_code)] + fn net_retry_loads_from_config() { + let p = project() + .file( +@@ -38,7 +38,7 @@ fn net_retry_loads_from_config() { + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn net_retry_git_outputs_warning() { + let p = project() + .file( +Index: rust/src/tools/cargo/tests/testsuite/publish.rs +=================================================================== +--- rust.orig/src/tools/cargo/tests/testsuite/publish.rs ++++ rust/src/tools/cargo/tests/testsuite/publish.rs +@@ -88,7 +88,7 @@ fn validate_upload_li() { + ); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn simple() { + let registry = RegistryBuilder::new().http_api().http_index().build(); + +@@ -130,7 +130,7 @@ You may press ctrl-c to skip waiting; th + + // Check that the `token` key works at the root instead of under a + // `[registry]` table. +-#[cargo_test] ++#[allow(dead_code)] + fn simple_publish_with_http() { + let _reg = registry::RegistryBuilder::new() + .http_api() +@@ -170,7 +170,7 @@ You may press ctrl-c to skip waiting; th + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn simple_publish_with_asymmetric() { + let _reg = registry::RegistryBuilder::new() + .http_api() +@@ -213,7 +213,7 @@ You may press ctrl-c to skip waiting; th + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn old_token_location() { + // `publish` generally requires a remote registry + let registry = registry::RegistryBuilder::new().http_api().build(); +@@ -270,7 +270,7 @@ You may press ctrl-c [..] + // Other tests will verify the endpoint gets the right payload. + } + +-#[cargo_test] ++#[allow(dead_code)] + fn simple_with_index() { + // `publish` generally requires a remote registry + let registry = registry::RegistryBuilder::new().http_api().build(); +@@ -315,7 +315,7 @@ You may press ctrl-c [..] + // Other tests will verify the endpoint gets the right payload. + } + +-#[cargo_test] ++#[allow(dead_code)] + fn git_deps() { + // Use local registry for faster test times since no publish will occur + let registry = registry::init(); +@@ -353,7 +353,7 @@ the `git` specification will be removed + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn path_dependency_no_version() { + // Use local registry for faster test times since no publish will occur + let registry = registry::init(); +@@ -393,7 +393,7 @@ the `path` specification will be removed + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn unpublishable_crate() { + // Use local registry for faster test times since no publish will occur + let registry = registry::init(); +@@ -426,7 +426,7 @@ fn unpublishable_crate() { + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn dont_publish_dirty() { + // Use local registry for faster test times since no publish will occur + let registry = registry::init(); +@@ -468,7 +468,7 @@ to proceed despite this and include the + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn publish_clean() { + // `publish` generally requires a remote registry + let registry = registry::RegistryBuilder::new().http_api().build(); +@@ -516,7 +516,7 @@ You may press ctrl-c to skip waiting; th + // Other tests will verify the endpoint gets the right payload. + } + +-#[cargo_test] ++#[allow(dead_code)] + fn publish_in_sub_repo() { + // `publish` generally requires a remote registry + let registry = registry::RegistryBuilder::new().http_api().build(); +@@ -565,7 +565,7 @@ You may press ctrl-c [..] + // Other tests will verify the endpoint gets the right payload. + } + +-#[cargo_test] ++#[allow(dead_code)] + fn publish_when_ignored() { + // `publish` generally requires a remote registry + let registry = registry::RegistryBuilder::new().http_api().build(); +@@ -614,7 +614,7 @@ You may press ctrl-c [..] + // Other tests will verify the endpoint gets the right payload. + } + +-#[cargo_test] ++#[allow(dead_code)] + fn ignore_when_crate_ignored() { + // `publish` generally requires a remote registry + let registry = registry::RegistryBuilder::new().http_api().build(); +@@ -662,7 +662,7 @@ You may press ctrl-c [..] + // Other tests will verify the endpoint gets the right payload. + } + +-#[cargo_test] ++#[allow(dead_code)] + fn new_crate_rejected() { + // Use local registry for faster test times since no publish will occur + let registry = registry::init(); +@@ -695,7 +695,7 @@ fn new_crate_rejected() { + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn dry_run() { + // Use local registry for faster test times since no publish will occur + let registry = registry::init(); +@@ -738,7 +738,7 @@ See [..] + assert!(!registry::api_path().join("api/v1/crates/new").exists()); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn registry_not_in_publish_list() { + let p = project() + .file( +@@ -771,7 +771,7 @@ The registry `alternative` is not listed + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn publish_empty_list() { + let p = project() + .file( +@@ -800,7 +800,7 @@ fn publish_empty_list() { + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn publish_allowed_registry() { + let _registry = RegistryBuilder::new() + .http_api() +@@ -860,7 +860,7 @@ You may press ctrl-c [..] + ); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn publish_implicitly_to_only_allowed_registry() { + let _registry = RegistryBuilder::new() + .http_api() +@@ -963,7 +963,7 @@ fn publish_failed_with_index_and_only_al + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn publish_fail_with_no_registry_specified() { + let p = project().build(); + +@@ -997,7 +997,7 @@ The registry `crates-io` is not listed i + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn block_publish_no_registry() { + let p = project() + .file( +@@ -1027,7 +1027,7 @@ fn block_publish_no_registry() { + } + + // Explicitly setting `crates-io` in the publish list. +-#[cargo_test] ++#[allow(dead_code)] + fn publish_with_crates_io_explicit() { + // `publish` generally requires a remote registry + let registry = registry::RegistryBuilder::new().http_api().build(); +@@ -1080,7 +1080,7 @@ You may press ctrl-c [..] + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn publish_with_select_features() { + // `publish` generally requires a remote registry + let registry = registry::RegistryBuilder::new().http_api().build(); +@@ -1131,7 +1131,7 @@ You may press ctrl-c [..] + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn publish_with_all_features() { + // `publish` generally requires a remote registry + let registry = registry::RegistryBuilder::new().http_api().build(); +@@ -1182,7 +1182,7 @@ You may press ctrl-c [..] + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn publish_with_no_default_features() { + // Use local registry for faster test times since no publish will occur + let registry = registry::init(); +@@ -1218,7 +1218,7 @@ fn publish_with_no_default_features() { + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn publish_with_patch() { + let registry = RegistryBuilder::new().http_api().http_index().build(); + Package::new("bar", "1.0.0").publish(); +@@ -1324,7 +1324,7 @@ You may press ctrl-c [..] + ); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn publish_checks_for_token_before_verify() { + let registry = registry::RegistryBuilder::new() + .no_configure_token() +@@ -1373,7 +1373,7 @@ fn publish_checks_for_token_before_verif + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn publish_with_bad_source() { + let p = project() + .file( +@@ -1422,7 +1422,7 @@ include `--registry crates-io` to use cr + } + + // A dependency with both `git` and `version`. +-#[cargo_test] ++#[allow(dead_code)] + fn publish_git_with_version() { + let registry = RegistryBuilder::new().http_api().http_index().build(); + +@@ -1566,7 +1566,7 @@ You may press ctrl-c [..] + ); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn publish_dev_dep_no_version() { + let registry = RegistryBuilder::new().http_api().http_index().build(); + +@@ -1656,7 +1656,7 @@ repository = "foo" + ); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn credentials_ambiguous_filename() { + // `publish` generally requires a remote registry + let registry = registry::RegistryBuilder::new().http_api().build(); +@@ -1712,7 +1712,7 @@ You may press ctrl-c [..] + + // --index will not load registry.token to avoid possibly leaking + // crates.io token to another server. +-#[cargo_test] ++#[allow(dead_code)] + fn index_requires_token() { + // Use local registry for faster test times since no publish will occur + let registry = registry::init(); +@@ -1747,7 +1747,7 @@ fn index_requires_token() { + } + + // publish with source replacement without --registry +-#[cargo_test] ++#[allow(dead_code)] + fn cratesio_source_replacement() { + registry::init(); + let p = project() +@@ -1776,7 +1776,7 @@ include `--registry dummy-registry` or ` + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn publish_with_missing_readme() { + // Use local registry for faster test times since no publish will occur + let registry = registry::init(); +@@ -1824,7 +1824,7 @@ Caused by: + } + + // Registry returns an API error. +-#[cargo_test] ++#[allow(dead_code)] + fn api_error_json() { + let _registry = registry::RegistryBuilder::new() + .alternative() +@@ -1872,7 +1872,7 @@ Caused by: + } + + // Registry returns an API error with a 200 status code. +-#[cargo_test] ++#[allow(dead_code)] + fn api_error_200() { + let _registry = registry::RegistryBuilder::new() + .alternative() +@@ -1920,7 +1920,7 @@ Caused by: + } + + // Registry returns an error code without a JSON message. +-#[cargo_test] ++#[allow(dead_code)] + fn api_error_code() { + let _registry = registry::RegistryBuilder::new() + .alternative() +@@ -1975,7 +1975,7 @@ Caused by: + } + + // Registry has a network error. +-#[cargo_test] ++#[allow(dead_code)] + fn api_curl_error() { + let _registry = registry::RegistryBuilder::new() + .alternative() +@@ -2025,7 +2025,7 @@ Caused by: + } + + // Registry returns an invalid response. +-#[cargo_test] ++#[allow(dead_code)] + fn api_other_error() { + let _registry = registry::RegistryBuilder::new() + .alternative() +@@ -2075,7 +2075,7 @@ Caused by: + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn in_package_workspace() { + let registry = RegistryBuilder::new().http_api().http_index().build(); + +@@ -2127,7 +2127,7 @@ You may press ctrl-c [..] + validate_upload_li(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn with_duplicate_spec_in_members() { + // Use local registry for faster test times since no publish will occur + let registry = registry::init(); +@@ -2179,7 +2179,7 @@ fn with_duplicate_spec_in_members() { + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn in_package_workspace_with_members_with_features_old() { + let registry = RegistryBuilder::new().http_api().http_index().build(); + +@@ -2230,7 +2230,7 @@ You may press ctrl-c [..] + validate_upload_li(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn in_virtual_workspace() { + // Use local registry for faster test times since no publish will occur + let registry = registry::init(); +@@ -2266,7 +2266,7 @@ fn in_virtual_workspace() { + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn in_virtual_workspace_with_p() { + // `publish` generally requires a remote registry + let registry = registry::RegistryBuilder::new().http_api().build(); +@@ -2324,7 +2324,7 @@ You may press ctrl-c [..] + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn in_package_workspace_not_found() { + // Use local registry for faster test times since no publish will occur + let registry = registry::init(); +@@ -2369,7 +2369,7 @@ error: package ID specification `li` did + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn in_package_workspace_found_multiple() { + // Use local registry for faster test times since no publish will occur + let registry = registry::init(); +@@ -2426,7 +2426,7 @@ error: the `-p` argument must be specifi + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + // https://github.com/rust-lang/cargo/issues/10536 + fn publish_path_dependency_without_workspace() { + // Use local registry for faster test times since no publish will occur +@@ -2473,7 +2473,7 @@ error: package ID specification `bar` di + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn http_api_not_noop() { + let registry = registry::RegistryBuilder::new().http_api().build(); + +@@ -2534,7 +2534,7 @@ You may press ctrl-c [..] + p.cargo("build").run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn wait_for_first_publish() { + // Counter for number of tries before the package is "published" + let arc: Arc> = Arc::new(Mutex::new(0)); +@@ -2616,7 +2616,7 @@ You may press ctrl-c to skip waiting; th + /// A separate test is needed for package names with - or _ as they hit + /// the responder twice per cargo invocation. If that ever gets changed + /// this test will need to be changed accordingly. +-#[cargo_test] ++#[allow(dead_code)] + fn wait_for_first_publish_underscore() { + // Counter for number of tries before the package is "published" + let arc: Arc> = Arc::new(Mutex::new(0)); +@@ -2712,7 +2712,7 @@ You may press ctrl-c to skip waiting; th + p.cargo("build").with_status(0).run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn wait_for_subsequent_publish() { + // Counter for number of tries before the package is "published" + let arc: Arc> = Arc::new(Mutex::new(0)); +@@ -2804,7 +2804,7 @@ You may press ctrl-c to skip waiting; th + p.cargo("check").with_status(0).run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn skip_wait_for_publish() { + // Intentionally using local registry so the crate never makes it to the index + let registry = registry::init(); +Index: rust/src/tools/cargo/tests/testsuite/credential_process.rs +=================================================================== +--- rust.orig/src/tools/cargo/tests/testsuite/credential_process.rs ++++ rust/src/tools/cargo/tests/testsuite/credential_process.rs +@@ -63,7 +63,7 @@ fn get_token_test() -> (Project, TestReg + (p, server) + } + +-#[cargo_test] ++#[allow(dead_code)] + fn publish() { + // Checks that credential-process is used for `cargo publish`. + let (p, _t) = get_token_test(); +@@ -85,7 +85,7 @@ You may press ctrl-c [..] + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn basic_unsupported() { + // Non-action commands don't support login/logout. + let registry = registry::RegistryBuilder::new() +@@ -121,7 +121,7 @@ Caused by: + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn login() { + let registry = registry::RegistryBuilder::new() + .no_configure_token() +@@ -142,7 +142,7 @@ fn login() { + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn logout() { + let server = registry::RegistryBuilder::new() + .no_configure_token() +@@ -161,7 +161,7 @@ fn logout() { + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn yank() { + let (p, _t) = get_token_test(); + +@@ -176,7 +176,7 @@ fn yank() { + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn owner() { + let (p, _t) = get_token_test(); + +@@ -191,7 +191,7 @@ fn owner() { + .run(); + } + +-#[cargo_test] ++#[allow(dead_code)] + fn invalid_token_output() { + // Error when credential process does not output the expected format for a token. + let cred_proj = project() diff --git a/patches/c-2003-workaround-qemu-vfork-command-not-found.patch b/patches/c-2003-workaround-qemu-vfork-command-not-found.patch new file mode 100644 index 0000000000..6453c3a30f --- /dev/null +++ b/patches/c-2003-workaround-qemu-vfork-command-not-found.patch @@ -0,0 +1,19 @@ +Index: rust/src/tools/cargo/crates/cargo-test-macro/src/lib.rs +=================================================================== +--- rust.orig/src/tools/cargo/crates/cargo-test-macro/src/lib.rs ++++ rust/src/tools/cargo/crates/cargo-test-macro/src/lib.rs +@@ -223,6 +223,14 @@ fn has_command(command: &str) -> bool { + } + }; + if !output.status.success() { ++ // Debian specific patch, upstream wontfix: ++ // qemu has a faulty vfork where it fails to fail if a command is not ++ // found, with a unix_wait_status of 32512, or 0x7f00, 7f meaning ++ // exit code 127. See https://github.com/rust-lang/rust/issues/90825 ++ use std::os::unix::process::ExitStatusExt; ++ if output.status.into_raw() == 0x7f00 { ++ return false; ++ } + panic!( + "expected command `{}` to be runnable, got error {}:\n\ + stderr:{}\n\ diff --git a/patches/c-2200-workaround-x32-test.patch b/patches/c-2200-workaround-x32-test.patch new file mode 100644 index 0000000000..9dc42ddbc6 --- /dev/null +++ b/patches/c-2200-workaround-x32-test.patch @@ -0,0 +1,15 @@ +Bug: https://github.com/rust-lang/cargo/issues/10005 + +Index: rust/src/tools/cargo/tests/testsuite/cfg.rs +=================================================================== +--- rust.orig/src/tools/cargo/tests/testsuite/cfg.rs ++++ rust/src/tools/cargo/tests/testsuite/cfg.rs +@@ -272,7 +272,7 @@ fn any_ok() { + + // https://github.com/rust-lang/cargo/issues/5313 + #[cargo_test] +-#[cfg(all(target_arch = "x86_64", target_os = "linux", target_env = "gnu"))] ++#[cfg(all(target_arch = "x86_64", target_os = "linux", target_env = "gnu", target_pointer_width = "64"))] + fn cfg_looks_at_rustflags_for_target() { + let p = project() + .file( diff --git a/patches/c-disable-fs-specific-test.patch b/patches/c-disable-fs-specific-test.patch new file mode 100644 index 0000000000..ccdc0ba81c --- /dev/null +++ b/patches/c-disable-fs-specific-test.patch @@ -0,0 +1,13 @@ +Index: rust/src/tools/cargo/tests/testsuite/metadata.rs +=================================================================== +--- rust.orig/src/tools/cargo/tests/testsuite/metadata.rs ++++ rust/src/tools/cargo/tests/testsuite/metadata.rs +@@ -3988,7 +3988,7 @@ fn dep_kinds_workspace() { + // Creating non-utf8 path is an OS-specific pain, so let's run this only on + // linux, where arbitrary bytes work. + #[cfg(target_os = "linux")] +-#[cargo_test] ++#[allow(dead_code)] + fn cargo_metadata_non_utf8() { + use std::ffi::OsString; + use std::os::unix::ffi::OsStringExt; diff --git a/patches/d-0000-ignore-removed-submodules.patch b/patches/d-0000-ignore-removed-submodules.patch new file mode 100644 index 0000000000..2002ea30d7 --- /dev/null +++ b/patches/d-0000-ignore-removed-submodules.patch @@ -0,0 +1,242 @@ +From: Debian Rust Maintainers +Date: Sat, 2 Oct 2021 01:07:59 +0100 +Subject: d-0000-ignore-removed-submodules + +--- + Cargo.toml | 7 ----- + src/bootstrap/bootstrap.py | 4 --- + src/bootstrap/builder.rs | 54 +++++++++----------------------------- + src/bootstrap/test.rs | 12 +-------- + src/tools/rust-analyzer/Cargo.toml | 11 +++++++- + 5 files changed, 24 insertions(+), 64 deletions(-) + +diff --git a/Cargo.toml b/Cargo.toml +index 9b11ae8..19a98f9 100644 +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -19,22 +19,15 @@ members = [ + "src/tools/tidy", + "src/tools/tier-check", + "src/tools/build-manifest", +- "src/tools/remote-test-client", +- "src/tools/remote-test-server", + "src/tools/rust-installer", + "src/tools/rust-demangler", + "src/tools/rustdoc", +- "src/tools/rls", + "src/tools/rustfmt", +- "src/tools/miri", +- "src/tools/miri/cargo-miri", + "src/tools/rustdoc-themes", + "src/tools/unicode-table-generator", +- "src/tools/expand-yaml-anchors", + "src/tools/jsondocck", + "src/tools/jsondoclint", + "src/tools/html-checker", +- "src/tools/bump-stage0", + "src/tools/replace-version-placeholder", + "src/tools/lld-wrapper", + "src/tools/collect-license-metadata", +diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py +index fac0cdf..6fa1e9e 100644 +--- a/src/bootstrap/bootstrap.py ++++ b/src/bootstrap/bootstrap.py +@@ -962,10 +962,6 @@ class RustBuild(object): + args = [self.cargo(), "build", "--manifest-path", + os.path.join(self.rust_root, "src/bootstrap/Cargo.toml")] + args.extend("--verbose" for _ in range(self.verbose)) +- if self.use_locked_deps: +- args.append("--locked") +- if self.use_vendored_sources: +- args.append("--frozen") + if self.get_toml("metrics", "build"): + args.append("--features") + args.append("build-metrics") +diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs +index 46a62ee..216158c 100644 +--- a/src/bootstrap/builder.rs ++++ b/src/bootstrap/builder.rs +@@ -499,20 +499,20 @@ impl<'a> ShouldRun<'a> { + static SUBMODULES_PATHS: OnceCell> = OnceCell::new(); + + let init_submodules_paths = |src: &PathBuf| { +- let file = File::open(src.join(".gitmodules")).unwrap(); ++ //let file = File::open(src.join(".gitmodules")).unwrap(); + + let mut submodules_paths = vec![]; +- for line in BufReader::new(file).lines() { +- if let Ok(line) = line { +- let line = line.trim(); +- +- if line.starts_with("path") { +- let actual_path = +- line.split(' ').last().expect("Couldn't get value of path"); +- submodules_paths.push(actual_path.to_owned()); +- } +- } +- } ++ //for line in BufReader::new(file).lines() { ++ // if let Ok(line) = line { ++ // let line = line.trim(); ++ ++ // if line.starts_with("path") { ++ // let actual_path = ++ // line.split(' ').last().expect("Couldn't get value of path"); ++ // submodules_paths.push(actual_path.to_owned()); ++ // } ++ // } ++ //} + + submodules_paths + }; +@@ -686,25 +686,14 @@ impl<'a> Builder<'a> { + tool::Linkchecker, + tool::CargoTest, + tool::Compiletest, +- tool::RemoteTestServer, +- tool::RemoteTestClient, + tool::RustInstaller, + tool::Cargo, +- tool::Rls, +- tool::RustAnalyzer, + tool::RustAnalyzerProcMacroSrv, + tool::RustDemangler, + tool::Rustdoc, + tool::Clippy, + tool::CargoClippy, +- llvm::Llvm, +- llvm::Sanitizers, + tool::Rustfmt, +- tool::Miri, +- tool::CargoMiri, +- llvm::Lld, +- llvm::CrtBeginEnd, +- tool::RustdocGUITest, + tool::OptimizedDist, + tool::CoverageDump, + ), +@@ -714,12 +703,7 @@ impl<'a> Builder<'a> { + check::Rustdoc, + check::CodegenBackend, + check::Clippy, +- check::Miri, +- check::CargoMiri, +- check::MiroptTestTools, +- check::Rls, + check::Rustfmt, +- check::RustAnalyzer, + check::Bootstrap + ), + Kind::Test => describe!( +@@ -750,7 +734,6 @@ impl<'a> Builder<'a> { + test::TierCheck, + test::Cargotest, + test::Cargo, +- test::RustAnalyzer, + test::ErrorIndex, + test::Distcheck, + test::RunMakeFullDeps, +@@ -766,7 +749,6 @@ impl<'a> Builder<'a> { + test::EmbeddedBook, + test::EditionGuide, + test::Rustfmt, +- test::Miri, + test::Clippy, + test::RustDemangler, + test::CompiletestTest, +@@ -803,7 +785,6 @@ impl<'a> Builder<'a> { + doc::CargoBook, + doc::Clippy, + doc::ClippyBook, +- doc::Miri, + doc::EmbeddedBook, + doc::EditionGuide, + doc::StyleGuide, +@@ -821,12 +802,9 @@ impl<'a> Builder<'a> { + dist::Analysis, + dist::Src, + dist::Cargo, +- dist::Rls, +- dist::RustAnalyzer, + dist::Rustfmt, + dist::RustDemangler, + dist::Clippy, +- dist::Miri, + dist::LlvmTools, + dist::RustDev, + dist::Bootstrap, +@@ -843,11 +821,9 @@ impl<'a> Builder<'a> { + install::Docs, + install::Std, + install::Cargo, +- install::RustAnalyzer, + install::Rustfmt, + install::RustDemangler, + install::Clippy, +- install::Miri, + install::LlvmTools, + install::Src, + install::Rustc +@@ -857,7 +833,6 @@ impl<'a> Builder<'a> { + run::BuildManifest, + run::BumpStage0, + run::ReplaceVersionPlaceholder, +- run::Miri, + run::CollectLicenseMetadata, + run::GenerateCopyright, + run::GenerateWindowsSys, +@@ -1998,10 +1973,7 @@ impl<'a> Builder<'a> { + } + } + +- if self.config.locked_deps { +- cargo.arg("--locked"); +- } +- if self.config.vendor || self.is_sudo { ++ if self.is_sudo { + cargo.arg("--frozen"); + } + +diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs +index ba030f0..ba2e669 100644 +--- a/src/bootstrap/test.rs ++++ b/src/bootstrap/test.rs +@@ -2167,17 +2167,7 @@ impl Step for RustcGuide { + } + + fn run(self, builder: &Builder<'_>) { +- let relative_path = Path::new("src").join("doc").join("rustc-dev-guide"); +- builder.update_submodule(&relative_path); +- +- let src = builder.src.join(relative_path); +- let mut rustbook_cmd = builder.tool_cmd(Tool::Rustbook); +- let toolstate = if builder.run_delaying_failure(rustbook_cmd.arg("linkcheck").arg(&src)) { +- ToolState::TestPass +- } else { +- ToolState::TestFail +- }; +- builder.save_toolstate("rustc-dev-guide", toolstate); ++ builder.save_toolstate("rustc-dev-guide", ToolState::TestPass); + } + } + +diff --git a/src/tools/rust-analyzer/Cargo.toml b/src/tools/rust-analyzer/Cargo.toml +index cab88fc..5bac437 100644 +--- a/src/tools/rust-analyzer/Cargo.toml ++++ b/src/tools/rust-analyzer/Cargo.toml +@@ -1,5 +1,14 @@ + [workspace] +-members = ["xtask/", "lib/*", "crates/*"] ++members = [ ++ "xtask/", ++ "lib/*", ++ "crates/proc-macro-srv", ++ "crates/proc-macro-srv-cli", ++ "crates/tt", ++ "crates/mbe", ++ "crates/paths", ++ "crates/proc-macro-api", ++] + exclude = ["crates/proc-macro-test/imp"] + resolver = "2" + diff --git a/patches/d-0001-pkg-config-no-special-snowflake.patch b/patches/d-0001-pkg-config-no-special-snowflake.patch new file mode 100644 index 0000000000..bae6877426 --- /dev/null +++ b/patches/d-0001-pkg-config-no-special-snowflake.patch @@ -0,0 +1,93 @@ +From: Debian Rust Maintainers +Date: Sat, 2 Oct 2021 01:08:00 +0100 +Subject: d-0001-pkg-config-no-special-snowflake + +--- + vendor/pkg-config/src/lib.rs | 25 ++++++++++--------------- + vendor/pkg-config/tests/test.rs | 2 -- + 2 files changed, 10 insertions(+), 17 deletions(-) + +diff --git a/vendor/pkg-config/src/lib.rs b/vendor/pkg-config/src/lib.rs +index 3653032..553ac75 100644 +--- a/vendor/pkg-config/src/lib.rs ++++ b/vendor/pkg-config/src/lib.rs +@@ -117,11 +117,8 @@ pub enum Error { + /// Contains the name of the responsible environment variable. + EnvNoPkgConfig(String), + +- /// Detected cross compilation without a custom sysroot. +- /// +- /// Ignore the error with `PKG_CONFIG_ALLOW_CROSS=1`, +- /// which may let `pkg-config` select libraries +- /// for the host's architecture instead of the target's. ++ /// Cross compilation detected. Kept for compatibility; ++ /// the Debian package never emits this. + CrossCompilation, + + /// Failed to run `pkg-config`. +@@ -161,14 +158,6 @@ impl fmt::Display for Error { + fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { + match *self { + Error::EnvNoPkgConfig(ref name) => write!(f, "Aborted because {} is set", name), +- Error::CrossCompilation => f.write_str( +- "pkg-config has not been configured to support cross-compilation.\n\ +- \n\ +- Install a sysroot for the target platform and configure it via\n\ +- PKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_PATH, or install a\n\ +- cross-compiling wrapper for pkg-config and set it via\n\ +- PKG_CONFIG environment variable.", +- ), + Error::Command { + ref command, + ref cause, +@@ -226,7 +215,7 @@ impl fmt::Display for Error { + )?; + format_output(output, f) + } +- Error::__Nonexhaustive => panic!(), ++ Error::CrossCompilation | Error::__Nonexhaustive => panic!(), + } + } + } +@@ -420,6 +409,8 @@ impl Config { + if host == target { + return true; + } ++ // always enable PKG_CONFIG_ALLOW_CROSS override in Debian ++ return true; + + // pkg-config may not be aware of cross-compilation, and require + // a wrapper script that sets up platform-specific prefixes. +@@ -477,7 +468,11 @@ impl Config { + } + + fn run(&self, name: &str, args: &[&str]) -> Result, Error> { +- let pkg_config_exe = self.targetted_env_var("PKG_CONFIG"); ++ let pkg_config_exe = self.targetted_env_var("PKG_CONFIG") ++ .or_else(|| { ++ self.env_var_os("DEB_HOST_GNU_TYPE") ++ .map(|mut t| { t.push(OsString::from("-pkgconf")); t }) ++ }); + let fallback_exe = if pkg_config_exe.is_none() { + Some(OsString::from("pkgconf")) + } else { +diff --git a/vendor/pkg-config/tests/test.rs b/vendor/pkg-config/tests/test.rs +index 0f37c72..f70e8b7 100644 +--- a/vendor/pkg-config/tests/test.rs ++++ b/vendor/pkg-config/tests/test.rs +@@ -31,7 +31,6 @@ fn find(name: &str) -> Result { + pkg_config::probe_library(name) + } + +-#[test] + fn cross_disabled() { + let _g = LOCK.lock(); + reset(); +@@ -43,7 +42,6 @@ fn cross_disabled() { + } + } + +-#[test] + fn cross_enabled() { + let _g = LOCK.lock(); + reset(); diff --git a/patches/d-0002-mdbook-strip-embedded-libs.patch b/patches/d-0002-mdbook-strip-embedded-libs.patch new file mode 100644 index 0000000000..6e7914c454 --- /dev/null +++ b/patches/d-0002-mdbook-strip-embedded-libs.patch @@ -0,0 +1,467 @@ +From: Debian Rust Maintainers +Date: Sat, 2 Oct 2021 01:08:00 +0100 +Subject: d-0002-mdbook-strip-embedded-libs + +Comment: Use https://github.com/infinity0/mdBook/tree/debian to help you rebase the patch on top of a newer version. . Make sure the paths here match the ones in debian/rust-doc.links +--- + src/tools/linkchecker/main.rs | 28 +++++- + vendor/mdbook/src/book/init.rs | 19 ---- + .../src/renderer/html_handlebars/hbs_renderer.rs | 104 ++++----------------- + .../mdbook/src/renderer/html_handlebars/search.rs | 2 - + vendor/mdbook/src/theme/index.hbs | 99 +------------------- + vendor/mdbook/src/theme/mod.rs | 27 ------ + vendor/mdbook/src/theme/searcher/mod.rs | 2 - + 7 files changed, 47 insertions(+), 234 deletions(-) + +diff --git a/src/tools/linkchecker/main.rs b/src/tools/linkchecker/main.rs +index 7f73cac..e4805cc 100644 +--- a/src/tools/linkchecker/main.rs ++++ b/src/tools/linkchecker/main.rs +@@ -159,7 +159,17 @@ impl Checker { + for entry in t!(dir.read_dir()).map(|e| t!(e)) { + let path = entry.path(); + // Goes through symlinks +- let metadata = t!(fs::metadata(&path)); ++ let metadata = fs::metadata(&path); ++ if let Err(err) = metadata { ++ if let Ok(target) = fs::read_link(&path) { ++ if target.starts_with("/usr/share") { ++ // broken symlink to /usr/share, ok for our Debian build ++ return; ++ } ++ } ++ panic!("error at file {:?} while walking - {:?}", path, err) ++ } ++ let metadata = t!(metadata); + if metadata.is_dir() { + self.walk(&path, report); + } else { +@@ -172,7 +182,15 @@ impl Checker { + fn check(&mut self, file: &Path, report: &mut Report) { + let (pretty_path, entry) = self.load_file(file, report); + let source = match entry { +- FileEntry::Missing => panic!("missing file {:?} while walking", file), ++ FileEntry::Missing => { ++ if let Ok(target) = fs::read_link(&file) { ++ if target.starts_with("/usr/share") { ++ // broken symlink to /usr/share, ok for our Debian build ++ return; ++ } ++ } ++ panic!("missing file {:?} while walking", file) ++ } + FileEntry::Dir => unreachable!("never with `check` path"), + FileEntry::OtherFile => return, + FileEntry::Redirect { .. } => return, +@@ -238,6 +256,12 @@ impl Checker { + let (target_pretty_path, target_entry) = self.load_file(&path, report); + let (target_source, target_ids) = match target_entry { + FileEntry::Missing => { ++ if let Ok(target) = fs::read_link(&path) { ++ if target.starts_with("/usr/share") { ++ // broken symlink to /usr/share, ok for our Debian build ++ return; ++ } ++ } + if is_exception(file, &target_pretty_path) { + report.links_ignored_exception += 1; + } else { +diff --git a/vendor/mdbook/src/book/init.rs b/vendor/mdbook/src/book/init.rs +index faca1d0..c1a82a3 100644 +--- a/vendor/mdbook/src/book/init.rs ++++ b/vendor/mdbook/src/book/init.rs +@@ -153,25 +153,6 @@ impl BookBuilder { + let mut js = File::create(themedir.join("book.js"))?; + js.write_all(theme::JS)?; + +- let mut highlight_css = File::create(themedir.join("highlight.css"))?; +- highlight_css.write_all(theme::HIGHLIGHT_CSS)?; +- +- let mut highlight_js = File::create(themedir.join("highlight.js"))?; +- highlight_js.write_all(theme::HIGHLIGHT_JS)?; +- +- write_file(&themedir.join("fonts"), "fonts.css", theme::fonts::CSS)?; +- for (file_name, contents) in theme::fonts::LICENSES { +- write_file(&themedir, file_name, contents)?; +- } +- for (file_name, contents) in theme::fonts::OPEN_SANS.iter() { +- write_file(&themedir, file_name, contents)?; +- } +- write_file( +- &themedir, +- theme::fonts::SOURCE_CODE_PRO.0, +- theme::fonts::SOURCE_CODE_PRO.1, +- )?; +- + Ok(()) + } + +diff --git a/vendor/mdbook/src/renderer/html_handlebars/hbs_renderer.rs b/vendor/mdbook/src/renderer/html_handlebars/hbs_renderer.rs +index 709aa06..17ff63c 100644 +--- a/vendor/mdbook/src/renderer/html_handlebars/hbs_renderer.rs ++++ b/vendor/mdbook/src/renderer/html_handlebars/hbs_renderer.rs +@@ -3,13 +3,14 @@ use crate::config::{BookConfig, Code, Config, HtmlConfig, Playground, RustEditio + use crate::errors::*; + use crate::renderer::html_handlebars::helpers; + use crate::renderer::{RenderContext, Renderer}; +-use crate::theme::{self, playground_editor, Theme}; ++use crate::theme::{self, Theme}; + use crate::utils; + + use std::borrow::Cow; + use std::collections::BTreeMap; + use std::collections::HashMap; + use std::fs::{self, File}; ++use std::os::unix::fs::symlink; + use std::path::{Path, PathBuf}; + + use crate::utils::fs::get_404_output_file; +@@ -250,99 +251,28 @@ impl HtmlHandlebars { + if let Some(contents) = &theme.favicon_svg { + write_file(destination, "favicon.svg", contents)?; + } +- write_file(destination, "highlight.css", &theme.highlight_css)?; + write_file(destination, "tomorrow-night.css", &theme.tomorrow_night_css)?; + write_file(destination, "ayu-highlight.css", &theme.ayu_highlight_css)?; +- write_file(destination, "highlight.js", &theme.highlight_js)?; +- write_file(destination, "clipboard.min.js", &theme.clipboard_js)?; +- write_file( +- destination, +- "FontAwesome/css/font-awesome.css", +- theme::FONT_AWESOME, +- )?; +- write_file( +- destination, +- "FontAwesome/fonts/fontawesome-webfont.eot", +- theme::FONT_AWESOME_EOT, +- )?; +- write_file( +- destination, +- "FontAwesome/fonts/fontawesome-webfont.svg", +- theme::FONT_AWESOME_SVG, ++ symlink( ++ "/usr/share/fonts-font-awesome/css/font-awesome.min.css", ++ destination.join("css/font-awesome.min.css"), + )?; +- write_file( +- destination, +- "FontAwesome/fonts/fontawesome-webfont.ttf", +- theme::FONT_AWESOME_TTF, ++ symlink( ++ "/usr/share/fonts-font-awesome/fonts", ++ destination.join("fonts"), + )?; +- write_file( +- destination, +- "FontAwesome/fonts/fontawesome-webfont.woff", +- theme::FONT_AWESOME_WOFF, ++ symlink( ++ "/usr/share/javascript/highlight.js/styles/atelier-dune-light.css", ++ destination.join("highlight.css"), + )?; +- write_file( +- destination, +- "FontAwesome/fonts/fontawesome-webfont.woff2", +- theme::FONT_AWESOME_WOFF2, ++ symlink( ++ "/usr/share/javascript/highlight.js/highlight.js", ++ destination.join("highlight.js"), + )?; +- write_file( +- destination, +- "FontAwesome/fonts/FontAwesome.ttf", +- theme::FONT_AWESOME_TTF, ++ symlink( ++ "/usr/share/javascript/mathjax/MathJax.js", ++ destination.join("MathJax.js"), + )?; +- // Don't copy the stock fonts if the user has specified their own fonts to use. +- if html_config.copy_fonts && theme.fonts_css.is_none() { +- write_file(destination, "fonts/fonts.css", theme::fonts::CSS)?; +- for (file_name, contents) in theme::fonts::LICENSES.iter() { +- write_file(destination, file_name, contents)?; +- } +- for (file_name, contents) in theme::fonts::OPEN_SANS.iter() { +- write_file(destination, file_name, contents)?; +- } +- write_file( +- destination, +- theme::fonts::SOURCE_CODE_PRO.0, +- theme::fonts::SOURCE_CODE_PRO.1, +- )?; +- } +- if let Some(fonts_css) = &theme.fonts_css { +- if !fonts_css.is_empty() { +- write_file(destination, "fonts/fonts.css", fonts_css)?; +- } +- } +- if !html_config.copy_fonts && theme.fonts_css.is_none() { +- warn!( +- "output.html.copy-fonts is deprecated.\n\ +- This book appears to have copy-fonts=false in book.toml without a fonts.css file.\n\ +- Add an empty `theme/fonts/fonts.css` file to squelch this warning." +- ); +- } +- for font_file in &theme.font_files { +- let contents = fs::read(font_file)?; +- let filename = font_file.file_name().unwrap(); +- let filename = Path::new("fonts").join(filename); +- write_file(destination, filename, &contents)?; +- } +- +- let playground_config = &html_config.playground; +- +- // Ace is a very large dependency, so only load it when requested +- if playground_config.editable && playground_config.copy_js { +- // Load the editor +- write_file(destination, "editor.js", playground_editor::JS)?; +- write_file(destination, "ace.js", playground_editor::ACE_JS)?; +- write_file(destination, "mode-rust.js", playground_editor::MODE_RUST_JS)?; +- write_file( +- destination, +- "theme-dawn.js", +- playground_editor::THEME_DAWN_JS, +- )?; +- write_file( +- destination, +- "theme-tomorrow_night.js", +- playground_editor::THEME_TOMORROW_NIGHT_JS, +- )?; +- } + + Ok(()) + } +diff --git a/vendor/mdbook/src/renderer/html_handlebars/search.rs b/vendor/mdbook/src/renderer/html_handlebars/search.rs +index 24d62fd..849a48c 100644 +--- a/vendor/mdbook/src/renderer/html_handlebars/search.rs ++++ b/vendor/mdbook/src/renderer/html_handlebars/search.rs +@@ -53,8 +53,6 @@ pub fn create_files(search_config: &Search, destination: &Path, book: &Book) -> + format!("Object.assign(window.search, {});", index).as_bytes(), + )?; + utils::fs::write_file(destination, "searcher.js", searcher::JS)?; +- utils::fs::write_file(destination, "mark.min.js", searcher::MARK_JS)?; +- utils::fs::write_file(destination, "elasticlunr.min.js", searcher::ELASTICLUNR_JS)?; + debug!("Copying search files ✓"); + } + +diff --git a/vendor/mdbook/src/theme/index.hbs b/vendor/mdbook/src/theme/index.hbs +index 80315c4..48413b0 100644 +--- a/vendor/mdbook/src/theme/index.hbs ++++ b/vendor/mdbook/src/theme/index.hbs +@@ -33,10 +33,7 @@ + {{/if}} + + +- +- {{#if copy_fonts}} +- +- {{/if}} ++ + + + +@@ -50,7 +47,7 @@ + + {{#if mathjax_support}} + +- ++ + {{/if}} + + +@@ -61,48 +58,6 @@ + var default_theme = window.matchMedia("(prefers-color-scheme: dark)").matches ? "{{ preferred_dark_theme }}" : "{{ default_theme }}"; + + +- +- +- +- +- +- +- +- +- +