From 684aef40f9f003adf211ae29de47905b1109a06c Mon Sep 17 00:00:00 2001
From: Georg Koppen <gk@torproject.org>
Date: Wed, 28 Mar 2018 10:19:31 +0000
Subject: [PATCH] Bug 25664: Update libc version requirement for Rust

When merging the patches for #25310 the libc version requirement in
`GettingStartedRust.md` and `configure.ac` did not get updated to the
now needed 0.2.39.
---
 configure.ac                      | 2 +-
 doc/HACKING/GettingStartedRust.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 6c6add1876..2b9bc85958 100644
--- a/configure.ac
+++ b/configure.ac
@@ -275,7 +275,7 @@ fi
 AM_CONDITIONAL(USEPYTHON, [test "x$PYTHON" != "x"])
 
 dnl List all external rust crates we depend on here. Include the version
-rust_crates="libc-0.2.22"
+rust_crates="libc-0.2.39"
 AC_SUBST(rust_crates)
 
 ifdef([AC_C_FLEXIBLE_ARRAY_MEMBER], [
diff --git a/doc/HACKING/GettingStartedRust.md b/doc/HACKING/GettingStartedRust.md
index f5914bc87a..a533ba8a27 100644
--- a/doc/HACKING/GettingStartedRust.md
+++ b/doc/HACKING/GettingStartedRust.md
@@ -65,7 +65,7 @@ fetching dependencies from Cargo or specifying a local directory.
 
 You'll need the following Rust dependencies (as of this writing):
 
-    libc==0.2.22
+    libc==0.2.39
 
 We vendor our Rust dependencies in a separate repo using
 [cargo-vendor](https://github.com/alexcrichton/cargo-vendor).  To use
-- 
GitLab