Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sergi
Tor
Commits
88a8deb4
Commit
88a8deb4
authored
5 years ago
by
David Goulet
Browse files
Options
Downloads
Plain Diff
Merge branch 'tor-github/pr/1236'
parents
960d9894
360a29e2
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.travis.yml
+6
-4
6 additions, 4 deletions
.travis.yml
changes/bug31442
+3
-0
3 additions, 0 deletions
changes/bug31442
configure.ac
+2
-2
2 additions, 2 deletions
configure.ac
with
11 additions
and
6 deletions
.travis.yml
+
6
−
4
View file @
88a8deb4
...
...
@@ -29,6 +29,8 @@ env:
-
HARDENING_OPTIONS="--enable-expensive-hardening"
## We turn off asciidoc by default, because it's slow
-
ASCIIDOC_OPTIONS="--disable-asciidoc"
## Our default rust version is the minimum supported version
-
RUST_VERSION="1.31.0"
matrix
:
## We want to use each build option at least once
##
...
...
@@ -55,9 +57,9 @@ matrix:
# We clone our stem repo and run `make test-stem`
-
env
:
TEST_STEM="yes" SKIP_MAKE_CHECK="yes"
## Check rust online with distcheck, to make sure we remove rust products
-
env
:
DISTCHECK="yes" RUST_OPTIONS="--enable-rust --enable-cargo-online-mode"
-
env
:
DISTCHECK="yes"
RUST_VERSION="beta"
RUST_OPTIONS="--enable-rust --enable-cargo-online-mode"
## Check disable module dirauth with and without rust
-
env
:
MODULES_OPTIONS="--disable-module-dirauth" RUST_OPTIONS="--enable-rust" TOR_RUST_DEPENDENCIES=true
-
env
:
MODULES_OPTIONS="--disable-module-dirauth"
RUST_VERSION="nightly"
RUST_OPTIONS="--enable-rust" TOR_RUST_DEPENDENCIES=true
-
env
:
MODULES_OPTIONS="--disable-module-dirauth"
## Check NSS
-
env
:
NSS_OPTIONS="--enable-nss"
...
...
@@ -173,8 +175,8 @@ install:
-
if [[ "$ASCIIDOC_OPTIONS" == "" ]] && [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export XML_CATALOG_FILES="/usr/local/etc/xml/catalog"; fi
## If we're using Rust, download rustup
-
if [[ "$RUST_OPTIONS" != "" ]]; then curl -Ssf -o rustup.sh https://sh.rustup.rs; fi
## Install the
nightly
channels of rustc and cargo and setup our toolchain environment
-
if [[ "$RUST_OPTIONS" != "" ]]; then sh rustup.sh -y --default-toolchain
nightly
; fi
## Install the
stable
channels of rustc and cargo and setup our toolchain environment
-
if [[ "$RUST_OPTIONS" != "" ]]; then sh rustup.sh -y --default-toolchain
$RUST_VERSION
; fi
-
if [[ "$RUST_OPTIONS" != "" ]]; then source $HOME/.cargo/env; fi
## If we're testing rust builds in offline-mode, then set up our vendored dependencies
-
if [[ "$TOR_RUST_DEPENDENCIES" == "true" ]]; then export TOR_RUST_DEPENDENCIES=$PWD/src/ext/rust/crates; fi
...
...
This diff is collapsed.
Click to expand it.
changes/bug31442
0 → 100644
+
3
−
0
View file @
88a8deb4
o Minor bugfixes (rust):
- Raise the minimum rustc version to 1.31.0, as checked by configure
and CI. Fixes bug 31442; bugfix on 0.3.5.4-alpha.
This diff is collapsed.
Click to expand it.
configure.ac
+
2
−
2
View file @
88a8deb4
...
...
@@ -558,8 +558,8 @@ if test "x$enable_rust" = "xyes"; then
if test "x$RUSTC_VERSION_MAJOR" = "x" -o "x$RUSTC_VERSION_MINOR" = "x"; then
AC_MSG_ERROR([rustc version couldn't be identified])
fi
if test "$RUSTC_VERSION_MAJOR" -lt 2 -a "$RUSTC_VERSION_MINOR" -lt 1
4
; then
AC_MSG_ERROR([rustc must be at least version 1.
14
])
if test "$RUSTC_VERSION_MAJOR" -lt 2 -a "$RUSTC_VERSION_MINOR" -lt
3
1; then
AC_MSG_ERROR([rustc must be at least version 1.
31.0
])
fi
AC_MSG_RESULT([$RUSTC_VERSION])
fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment