mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
bd9ebb3763
We need this trick because some of our Rust tests depend on our C code, which in turn depend on other native libraries, which thereby pulls a whole mess of our build system into "cargo test". To solve this, we add a build script (build.rs) to set most of the options that we want based on the contents of config.rust. Some options can't be set, and need to go to the linker directly: we use a linker replacement (link_rust.sh) for these. Both config.rust and link_rust.sh are generated by autoconf for us. This patch on its own should enough to make the crypto test build, but not necessarily enough to make it pass.
238 lines
4.0 KiB
Plaintext
238 lines
4.0 KiB
Plaintext
# Editor droppings
|
|
\#*\#
|
|
.#*
|
|
*~
|
|
*.swp
|
|
*.swo
|
|
# C stuff
|
|
*.o
|
|
*.obj
|
|
# Diff droppings
|
|
*.orig
|
|
*.rej
|
|
# gcov stuff
|
|
*.gcno
|
|
*.gcov
|
|
*.gcda
|
|
# Autotools stuff
|
|
.deps
|
|
.dirstamp
|
|
*.trs
|
|
*.log
|
|
# Calltool stuff
|
|
.*.graph
|
|
# Stuff made by our makefiles
|
|
*.bak
|
|
# Python droppings
|
|
*.pyc
|
|
*.pyo
|
|
# Cscope
|
|
cscope.*
|
|
# OSX junk
|
|
*.dSYM
|
|
.DS_Store
|
|
# updateFallbackDirs.py temp files
|
|
details-*.json
|
|
uptime-*.json
|
|
*.full_url
|
|
*.last_modified
|
|
|
|
# /
|
|
/Makefile
|
|
/Makefile.in
|
|
/aclocal.m4
|
|
/ar-lib
|
|
/autom4te.cache
|
|
/build-stamp
|
|
/compile
|
|
/config.rust
|
|
/configure
|
|
/Doxyfile
|
|
/orconfig.h
|
|
/orconfig.h.in
|
|
/config.cache
|
|
/config.log
|
|
/config.status
|
|
/config.guess
|
|
/config.sub
|
|
/conftest*
|
|
/link_rust.sh
|
|
/micro-revision.*
|
|
/patch-stamp
|
|
/stamp-h
|
|
/stamp-h.in
|
|
/stamp-h1
|
|
/TAGS
|
|
/test-driver
|
|
/tor.sh
|
|
/tor.spec
|
|
/depcomp
|
|
/install-sh
|
|
/missing
|
|
/mkinstalldirs
|
|
/Tor*Bundle.dmg
|
|
/tor-*-win32.exe
|
|
/coverage_html/
|
|
/callgraph/
|
|
|
|
# /contrib/
|
|
/contrib/dist/tor.sh
|
|
/contrib/dist/torctl
|
|
/contrib/dist/tor.service
|
|
/contrib/operator-tools/tor.logrotate
|
|
/contrib/dist/suse/tor.sh
|
|
|
|
# /debian/
|
|
/debian/files
|
|
/debian/micro-revision.i
|
|
/debian/patched
|
|
/debian/tor
|
|
/debian/tor.postinst.debhelper
|
|
/debian/tor.postrm.debhelper
|
|
/debian/tor.prerm.debhelper
|
|
/debian/tor.substvars
|
|
|
|
# /doc/
|
|
/doc/Makefile
|
|
/doc/Makefile.in
|
|
/doc/doxygen
|
|
/doc/tor.1
|
|
/doc/tor.1.in
|
|
/doc/tor.html
|
|
/doc/tor.html.in
|
|
/doc/tor.1.xml
|
|
/doc/tor-gencert.1
|
|
/doc/tor-gencert.1.in
|
|
/doc/tor-gencert.html
|
|
/doc/tor-gencert.html.in
|
|
/doc/tor-gencert.1.xml
|
|
/doc/tor-resolve.1
|
|
/doc/tor-resolve.1.in
|
|
/doc/tor-resolve.html
|
|
/doc/tor-resolve.html.in
|
|
/doc/tor-resolve.1.xml
|
|
/doc/torify.1
|
|
/doc/torify.1.in
|
|
/doc/torify.html
|
|
/doc/torify.html.in
|
|
/doc/torify.1.xml
|
|
|
|
# /doc/spec/
|
|
/doc/spec/Makefile
|
|
/doc/spec/Makefile.in
|
|
|
|
# /scripts
|
|
/scripts/maint/checkOptionDocs.pl
|
|
/scripts/maint/updateVersions.pl
|
|
|
|
# /src/
|
|
/src/Makefile
|
|
/src/Makefile.in
|
|
|
|
# /src/trace
|
|
/src/trace/libor-trace.a
|
|
|
|
# /src/common/
|
|
/src/common/Makefile
|
|
/src/common/Makefile.in
|
|
/src/common/libor.a
|
|
/src/common/libor-testing.a
|
|
/src/common/libor.lib
|
|
/src/common/libor-ctime.a
|
|
/src/common/libor-ctime-testing.a
|
|
/src/common/libor-ctime.lib
|
|
/src/common/libor-crypto.a
|
|
/src/common/libor-crypto-testing.a
|
|
/src/common/libor-crypto.lib
|
|
/src/common/libor-event.a
|
|
/src/common/libor-event-testing.a
|
|
/src/common/libor-event.lib
|
|
/src/common/libcurve25519_donna.a
|
|
/src/common/libcurve25519_donna.lib
|
|
|
|
# /src/config/
|
|
/src/config/Makefile
|
|
/src/config/Makefile.in
|
|
/src/config/sample-server-torrc
|
|
/src/config/torrc
|
|
/src/config/torrc.sample
|
|
/src/config/torrc.minimal
|
|
|
|
# /src/ext/
|
|
/src/ext/ed25519/ref10/libed25519_ref10.a
|
|
/src/ext/ed25519/ref10/libed25519_ref10.lib
|
|
/src/ext/ed25519/donna/libed25519_donna.a
|
|
/src/ext/ed25519/donna/libed25519_donna.lib
|
|
/src/ext/keccak-tiny/libkeccak-tiny.a
|
|
/src/ext/keccak-tiny/libkeccak-tiny.lib
|
|
|
|
# /src/or/
|
|
/src/or/Makefile
|
|
/src/or/Makefile.in
|
|
/src/or/tor
|
|
/src/or/tor.exe
|
|
/src/or/tor-cov
|
|
/src/or/tor-cov.exe
|
|
/src/or/libtor.a
|
|
/src/or/libtor-testing.a
|
|
/src/or/libtor.lib
|
|
|
|
# /src/rust
|
|
/src/rust/.cargo/config
|
|
/src/rust/.cargo/registry
|
|
/src/rust/target
|
|
/src/rust/registry
|
|
|
|
# /src/test
|
|
/src/test/Makefile
|
|
/src/test/Makefile.in
|
|
/src/test/bench
|
|
/src/test/bench.exe
|
|
/src/test/test
|
|
/src/test/test-slow
|
|
/src/test/test-bt-cl
|
|
/src/test/test-child
|
|
/src/test/test-memwipe
|
|
/src/test/test-ntor-cl
|
|
/src/test/test-hs-ntor-cl
|
|
/src/test/test-switch-id
|
|
/src/test/test-timers
|
|
/src/test/test_workqueue
|
|
/src/test/test.exe
|
|
/src/test/test-slow.exe
|
|
/src/test/test-bt-cl.exe
|
|
/src/test/test-child.exe
|
|
/src/test/test-ntor-cl.exe
|
|
/src/test/test-hs-ntor-cl.exe
|
|
/src/test/test-memwipe.exe
|
|
/src/test/test-switch-id.exe
|
|
/src/test/test-timers.exe
|
|
/src/test/test_workqueue.exe
|
|
|
|
# /src/test/fuzz
|
|
/src/test/fuzz/fuzz-*
|
|
/src/test/fuzz/lf-fuzz-*
|
|
|
|
# /src/tools/
|
|
/src/tools/libtorrunner.a
|
|
/src/tools/tor-checkkey
|
|
/src/tools/tor-resolve
|
|
/src/tools/tor-cov-resolve
|
|
/src/tools/tor-gencert
|
|
/src/tools/tor-cov-gencert
|
|
/src/tools/tor-checkkey.exe
|
|
/src/tools/tor-resolve.exe
|
|
/src/tools/tor-cov-resolve.exe
|
|
/src/tools/tor-gencert.exe
|
|
/src/tools/tor-cov-gencert.exe
|
|
/src/tools/Makefile
|
|
/src/tools/Makefile.in
|
|
|
|
# /src/trunnel/
|
|
/src/trunnel/libor-trunnel-testing.a
|
|
/src/trunnel/libor-trunnel.a
|
|
|
|
# /src/win32/
|
|
/src/win32/Makefile
|
|
/src/win32/Makefile.in
|