servo/python
Mukilan Thiyagarajan 1efecf9b50
Use system lld on NixOS instead of rust-lld (#30123)
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>
2023-08-18 06:18:05 +00:00
..
mach Make mach work on Python 3.11 2023-01-22 05:13:30 +01:00
servo Use system lld on NixOS instead of rust-lld (#30123) 2023-08-18 06:18:05 +00:00
tidy Format toml files (#30112) 2023-08-17 15:07:43 +00:00
wpt Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
mach_bootstrap.py Remove Gecko-specific Python bootstrap logic (#30041) 2023-07-28 13:34:23 +00:00
README.md Reorganize Servo's WPT Python scripts 2023-04-20 12:24:55 +02:00
requirements.txt Remove old code for out-of-date CA stores (#30031) 2023-07-27 15:26:22 +00:00
tox.ini

This directory contains various Python modules used to support servo development.

servo

servo-specific python code e.g. implementations of mach commands. This is the canonical repository for this code.

tidy

servo-tidy is used to check licenses, line lengths, whitespace, flake8 on Python files, lock file versions, and more.

wpt

servo-wpt is a module with support scripts for running, importing, exporting, updating manifests, and updating expectations for WPT tests.