author Jonathan Watt <>
Wed, 30 Aug 2017 15:58:31 +0100
changeset 381869 785f346d9b0b8f565447783e66a4d2db8179f3d5
parent 355713 fc34b2a31c4beb821ab40c8eca744c78212c14f5
child 392739 69465fa861e14da6b903ec4f154abf355e5d6d79
permissions -rwxr-xr-x
Bug 1401356, part 2 - Rename nsSVGEffects to SVGObserverUtils. r=longsonr


# If you want to use a custom linker with Cargo, Cargo requires that you
# specify it in Cargo.toml or via the matching environment variable.
# Passing extra options to the linker is possible with Cargo via
# RUSTFLAGS='-C link-args', but testing showed that doing this reliably
# was difficult.
# Our solution to these problems is to use this wrapper script.  We pass
# in the LD and the LDFLAGS to use via environment variables.  Note that
# we do *not* quote either MOZ_CARGO_WRAP variable:
# * MOZ_CARGO_WRAP_LD is equivalent to CC on Unix-y platforms, and CC
#   frequently has additional arguments in addition to the compiler
#   itself.
# * MOZ_CARGO_WRAP_LDFLAGS contains space-separated arguments to pass,
#   and not quoting it ensures that either of those arguments is passed
#   as a separate argument to the actual LD.