##// END OF EJS Templates
rust-filepatterns: fix type of warnings tuple to (bytes, bytes)...
rust-filepatterns: fix type of warnings tuple to (bytes, bytes) Otherwise warn() in match.py would fail if the warning contains non-ASCII character. We might want to add a thin ByteString wrapper around Vec<u8> to implement ToPyObject<ObjectType = PyBytes>, but I'm not sure.

File last commit:

r35587:96421278 default
r42857:02476018 default
Show More
config
7 lines | 399 B | text/plain | TextLexer
Gregory Szorc
rust: implementation of `hg`...
r35587 # Rust builds with a modern MSVC and uses a newer CRT.
# Python 2.7 has a shared library dependency on an older CRT (msvcr90.dll).
# We statically link the modern CRT to avoid multiple msvcr*.dll libraries
# being loaded and Python possibly picking up symbols from the newer runtime
# (which would be loaded first).
[target.'cfg(target_os = "windows")']
rustflags = ["-Ctarget-feature=+crt-static"]