about summary refs log tree commit diff
path: root/tests/codegen/const-array.rs
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2024-12-28 02:20:26 +0800
committer许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2024-12-28 11:53:01 +0800
commitb77ab2dd90b8636a38cb34a3e6fe73dbb1e7b0f1 (patch)
treec6b79017a55e774222342473743194ae2507b139 /tests/codegen/const-array.rs
parentecc189922dac830ff866f4609311e6afcc4a91f6 (diff)
downloadrust-b77ab2dd90b8636a38cb34a3e6fe73dbb1e7b0f1.tar.gz
rust-b77ab2dd90b8636a38cb34a3e6fe73dbb1e7b0f1.zip
tests: migrate `libs-through-symlink` to rmake.rs
- Document test intent, backlink to #13890 and fix PR #13903.
- Fix the test logic: the `Makefile` version seems to not actually be
  exercising the "library search traverses symlink" logic, because the
  actual symlinked-to-library is present under the directory tree when
  `bar.rs` is compiled, because the `$(RUSTC)` invocation has an
  implicit `-L $(TMPDIR)`. The symlink itself was actually broken, i.e.
  it should've been `ln -nsf $(TMPDIR)/outdir/$(NAME) $(TMPDIR)` but it
  used `ln -nsf outdir/$(NAME) $(TMPDIR)`.

Co-authored-by: Oneirical <manchot@videotron.ca>
Diffstat (limited to 'tests/codegen/const-array.rs')
0 files changed, 0 insertions, 0 deletions