mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
The -Zgcc-ld=lld flag makes rust use the rust-lld linker that is distributed as part of rust toolchain. However, this flag doesn't work on nixos correctly as 1) rust-lld needs to be patched to have the correct rpath to find libz.so 2) the bin/gcc-ld/ld.lld wrapper which calls rust-lld also needs to be patched to use the correct dynamic loader 3) rust-lld doesn't respect NIX_LDFLAGS which contains the additional search path derived from buildInputs. The system linkers on nixos are wrapped so that NIX_LDFLAGS is added as the rpath to the final binary. Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> |
||
---|---|---|
.. | ||
ci | ||
doc.servo.org | ||
layout_viewer | ||
crates-graph.py | ||
install_macos_gstreamer.sh | ||
jsdefine | ||
memory_chart.html | ||
memory_reports_over_time.py | ||
patch-trace-template.py | ||
profilicate.py | ||
run_in_headless_android_emulator.py | ||
servo.sb | ||
servo_automation_screenshot.py | ||
servo_gdb.py | ||
shell.nix | ||
start_servo.py | ||
valgrind-memcheck.supp | ||
wpt-summarize.py | ||
wpt-timing.py | ||
wpt_result_analyzer.py |