summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2022-09-15 17:45:49 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2022-09-15 17:46:12 -0700
commit7a2ff15833ad90d6e4171165adbca4c1aafcaa12 (patch)
treecbf76eee658f57464759f9f6fd7cb44c6c6d5901 /dev-lang/rust
parentdev-lang/rust: improve rustflags output format (diff)
downloadgentoo-7a2ff15833ad90d6e4171165adbca4c1aafcaa12.tar.gz
gentoo-7a2ff15833ad90d6e4171165adbca4c1aafcaa12.tar.bz2
gentoo-7a2ff15833ad90d6e4171165adbca4c1aafcaa12.zip
dev-lang/rust: improve comments with dots
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-lang/rust')
-rw-r--r--dev-lang/rust/rust-1.63.0-r1.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/dev-lang/rust/rust-1.63.0-r1.ebuild b/dev-lang/rust/rust-1.63.0-r1.ebuild
index a962d85a5c15..71c1aca5798a 100644
--- a/dev-lang/rust/rust-1.63.0-r1.ebuild
+++ b/dev-lang/rust/rust-1.63.0-r1.ebuild
@@ -256,9 +256,9 @@ pkg_setup() {
esetup_unwind_hack() {
# https://bugs.gentoo.org/870280
- # this is a hack needed to bootstrap with libgcc_s linked tarball on llvm-libunwind system
- # it should trigger for internal bootstrap or system-bootstrap with rust-bin
- # the whole idea is for stage0 to bootstrap with fake libgcc_s
+ # this is a hack needed to bootstrap with libgcc_s linked tarball on llvm-libunwind system.
+ # it should trigger for internal bootstrap or system-bootstrap with rust-bin.
+ # the whole idea is for stage0 to bootstrap with fake libgcc_s.
# final stage will receive -L${T}/lib but not -lgcc_s args, producing clean compiler.
local fakelib="${T}/fakelib"
mkdir -p "${fakelib}" || die
@@ -268,8 +268,8 @@ esetup_unwind_hack() {
export LD_LIBRARY_PATH="${fakelib}"
export RUSTFLAGS+=" -L${fakelib}"
# this is a literally magic variable that gets through cargo cache, without it some
- # crates ignore RUSTFLAGS
- # this variable can not contain leading space
+ # crates ignore RUSTFLAGS.
+ # this variable can not contain leading space.
export MAGIC_EXTRA_RUSTFLAGS+="${MAGIC_EXTRA_RUSTFLAGS:+ }-L${fakelib}"
}