update: lang/rust 1.24

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

update: lang/rust 1.24

Sebastien Marie-3
Hi,

The following diff update lang/rust to 1.24.

Tests that was done:
- build on i386 - but it seems the memory usage still grow. I added a
  new knob to try to reduce it. I was able to build but after several
  tries. BROKEN-i386 might be necessary ?

- build on amd64
- pass rustc testsuite on amd64
- build www/mozilla-firefox on amd64
- build and test textproc/ripgrep on amd64

The diff integrates some backported patches for be buildable with llvm-6
too (plist will just need an update as hash on filenames change).

Thanks.
--
Sebastien Marie


Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/rust/Makefile,v
retrieving revision 1.59
diff -u -p -r1.59 Makefile
--- Makefile 29 Jan 2018 18:45:39 -0000 1.59
+++ Makefile 17 Feb 2018 12:13:30 -0000
@@ -12,13 +12,13 @@ DPB_PROPERTIES = parallel
 COMMENT-main = compiler for Rust Language
 COMMENT-doc = html documentation for rustc
 
-V = 1.23.0
-CARGO_V = 0.24.0
+V = 1.24.0
+CARGO_V = 0.25.0
 DISTNAME = rustc-${V}-src
 
 # rustc bootstrap version
-BV-amd64 = 1.23.0-20180124
-BV-i386 = 1.23.0-20180125
+BV-amd64 = 1.24.0-20180213
+BV-i386 = 1.24.0-20180213
 BV = ${BV-${MACHINE_ARCH}}
 
 PKGNAME = rust-${V}
@@ -87,7 +87,8 @@ USE_GMAKE = Yes
 USE_LIBTOOL = gnu
 
 TEST_DEPENDS += ${FULLPKGNAME-main}:${BUILD_PKGPATH} \
- devel/git
+ devel/git \
+ sysutils/ggrep
 
 # - disable vendor checksum checks
 # - SUBSTR cargo testsuite
@@ -137,7 +138,6 @@ do-configure:
  echo 'llvm-config = "${LOCALBASE}/bin/llvm-config"' \
  >>${WRKBUILD}/config.toml
 .endif
-
 
 BUILD_BIN = cd ${WRKBUILD} && exec ${SETENV} ${MAKE_ENV} \
     ${MODPY_BIN} ${WRKSRC}/x.py
Index: distinfo
===================================================================
RCS file: /cvs/ports/lang/rust/distinfo,v
retrieving revision 1.30
diff -u -p -r1.30 distinfo
--- distinfo 27 Jan 2018 09:22:00 -0000 1.30
+++ distinfo 17 Feb 2018 12:13:30 -0000
@@ -1,6 +1,6 @@
-SHA256 (rust/rustc-1.23.0-src.tar.gz) = dGSVOHHc/fqK/MU2kWpobdFWqDM52OxNXLTrL+FGy5E=
-SHA256 (rust/rustc-bootstrap-amd64-1.23.0-20180124.tar.gz) = C15P+JfoE6nuMD0u6WMxd5ipli+Tybr1u5u/WQrq/Sc=
-SHA256 (rust/rustc-bootstrap-i386-1.23.0-20180125.tar.gz) = dZuoJj8CW6+bXkmhgHLvzsP00k9fro1JZQaN1yaC1f4=
-SIZE (rust/rustc-1.23.0-src.tar.gz) = 60010149
-SIZE (rust/rustc-bootstrap-amd64-1.23.0-20180124.tar.gz) = 74050566
-SIZE (rust/rustc-bootstrap-i386-1.23.0-20180125.tar.gz) = 75732565
+SHA256 (rust/rustc-1.24.0-src.tar.gz) = u4J29gROh35Efyn1ZuS7+CD6Uf6i+RLVm3MjP/2VY58=
+SHA256 (rust/rustc-bootstrap-amd64-1.24.0-20180213.tar.gz) = HF/ZvsS/EMaGM4GaiZa2/worbtYxwpwreU2p8Bhw3fE=
+SHA256 (rust/rustc-bootstrap-i386-1.24.0-20180213.tar.gz) = nQRwYdT3n9jjmoUt8IdqrJXvhKwq6PMMCAe+49JeivQ=
+SIZE (rust/rustc-1.24.0-src.tar.gz) = 67506894
+SIZE (rust/rustc-bootstrap-amd64-1.24.0-20180213.tar.gz) = 85135015
+SIZE (rust/rustc-bootstrap-i386-1.24.0-20180213.tar.gz) = 86217512
Index: patches/patch-src_bootstrap_bin_rustc_rs
===================================================================
RCS file: /cvs/ports/lang/rust/patches/patch-src_bootstrap_bin_rustc_rs,v
retrieving revision 1.1
diff -u -p -r1.1 patch-src_bootstrap_bin_rustc_rs
--- patches/patch-src_bootstrap_bin_rustc_rs 27 Jan 2018 09:22:00 -0000 1.1
+++ patches/patch-src_bootstrap_bin_rustc_rs 17 Feb 2018 12:13:30 -0000
@@ -2,16 +2,18 @@ $OpenBSD: patch-src_bootstrap_bin_rustc_
 try to reduce memory usage on i386:
  - small code size to optimize (more codegen-units)
  - optimization level to 1 (instead of 2) to reduce the work in memory
+ - reduce memory use by retaining fewer names within compilation artifacts
 Index: src/bootstrap/bin/rustc.rs
 --- src/bootstrap/bin/rustc.rs.orig
 +++ src/bootstrap/bin/rustc.rs
-@@ -183,6 +183,11 @@ fn main() {
-             cmd.arg("-C").arg(format!("codegen-units={}", s));
+@@ -179,6 +179,12 @@ fn main() {
+             cmd.arg("-Ccodegen-units=16").arg("-Zthinlto");
          }
 
 +        if target.contains("i686-unknown-openbsd") && crate_name == "rustc" {
 +            cmd.arg("-C").arg("codegen-units=16")
-+               .arg("-C").arg("opt-level=1");
++               .arg("-C").arg("opt-level=1")
++               .arg("-Z").arg("fewer-names");
 +        }
 +
          // Emit save-analysis info.
Index: patches/patch-src_bootstrap_builder_rs
===================================================================
RCS file: /cvs/ports/lang/rust/patches/patch-src_bootstrap_builder_rs,v
retrieving revision 1.1
diff -u -p -r1.1 patch-src_bootstrap_builder_rs
--- patches/patch-src_bootstrap_builder_rs 4 Dec 2017 17:31:49 -0000 1.1
+++ patches/patch-src_bootstrap_builder_rs 17 Feb 2018 12:13:30 -0000
@@ -1,5 +1,6 @@
 $OpenBSD: patch-src_bootstrap_builder_rs,v 1.1 2017/12/04 17:31:49 landry Exp $
-Disable Bootstrap test as it requires network access.
+disable Bootstrap test as it requires network access.
+pass RUSTC_ERROR_METADATA_DST as absolute path (8c9bf663d4a8074e4955d1ad3f85a3b82e946297).
 Index: src/bootstrap/builder.rs
 --- src/bootstrap/builder.rs.orig
 +++ src/bootstrap/builder.rs
@@ -12,3 +13,13 @@ Index: src/bootstrap/builder.rs
                  check::HostCompiletest, check::Crate, check::CrateLibrustc, check::Rustdoc,
                  check::Linkcheck, check::Cargotest, check::Cargo, check::Rls, check::Docs,
                  check::ErrorIndex, check::Distcheck, check::Rustfmt, check::Miri, check::Clippy),
+@@ -484,7 +484,8 @@ impl<'a> Builder<'a> {
+              } else {
+                  PathBuf::from("/path/to/nowhere/rustdoc/not/required")
+              })
+-             .env("TEST_MIRI", self.config.test_miri.to_string());
++             .env("TEST_MIRI", self.config.test_miri.to_string())
++             .env("RUSTC_ERROR_METADATA_DST", self.extended_error_dir());
+
+         if let Some(n) = self.config.rust_codegen_units {
+             cargo.env("RUSTC_CODEGEN_UNITS", n.to_string());
Index: patches/patch-src_bootstrap_check_rs
===================================================================
RCS file: patches/patch-src_bootstrap_check_rs
diff -N patches/patch-src_bootstrap_check_rs
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_bootstrap_check_rs 17 Feb 2018 12:13:30 -0000
@@ -0,0 +1,15 @@
+$OpenBSD$
+pass RUSTC_ERROR_METADATA_DST as absolute path (8c9bf663d4a8074e4955d1ad3f85a3b82e946297).
+Index: src/bootstrap/check.rs
+--- src/bootstrap/check.rs.orig
++++ src/bootstrap/check.rs
+@@ -980,7 +980,8 @@ impl Step for ErrorIndex {
+         build.run(builder.tool_cmd(Tool::ErrorIndex)
+                     .arg("markdown")
+                     .arg(&output)
+-                    .env("CFG_BUILD", &build.build));
++                    .env("CFG_BUILD", &build.build)
++                    .env("RUSTC_ERROR_METADATA_DST", build.extended_error_dir()));
+
+         markdown_test(builder, compiler, &output);
+     }
Index: patches/patch-src_bootstrap_dist_rs
===================================================================
RCS file: /cvs/ports/lang/rust/patches/patch-src_bootstrap_dist_rs,v
retrieving revision 1.2
diff -u -p -r1.2 patch-src_bootstrap_dist_rs
--- patches/patch-src_bootstrap_dist_rs 27 Jan 2018 09:22:00 -0000 1.2
+++ patches/patch-src_bootstrap_dist_rs 17 Feb 2018 12:13:30 -0000
@@ -5,7 +5,7 @@ requires too much RAM for i386
 Index: src/bootstrap/dist.rs
 --- src/bootstrap/dist.rs.orig
 +++ src/bootstrap/dist.rs
-@@ -1279,6 +1279,10 @@ impl Step for Extended {
+@@ -1292,6 +1292,10 @@ impl Step for Extended {
              target,
          });
 
Index: patches/patch-src_bootstrap_doc_rs
===================================================================
RCS file: patches/patch-src_bootstrap_doc_rs
diff -N patches/patch-src_bootstrap_doc_rs
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_bootstrap_doc_rs 17 Feb 2018 12:13:30 -0000
@@ -0,0 +1,15 @@
+$OpenBSD$
+pass RUSTC_ERROR_METADATA_DST as absolute path (8c9bf663d4a8074e4955d1ad3f85a3b82e946297).
+Index: src/bootstrap/doc.rs
+--- src/bootstrap/doc.rs.orig
++++ src/bootstrap/doc.rs
+@@ -671,7 +671,8 @@ impl Step for ErrorIndex {
+         index.arg(out.join("error-index.html"));
+
+         // FIXME: shouldn't have to pass this env var
+-        index.env("CFG_BUILD", &build.build);
++        index.env("CFG_BUILD", &build.build)
++             .env("RUSTC_ERROR_METADATA_DST", build.extended_error_dir());
+
+         build.run(&mut index);
+     }
Index: patches/patch-src_bootstrap_lib_rs
===================================================================
RCS file: /cvs/ports/lang/rust/patches/patch-src_bootstrap_lib_rs,v
retrieving revision 1.9
diff -u -p -r1.9 patch-src_bootstrap_lib_rs
--- patches/patch-src_bootstrap_lib_rs 27 Jan 2018 09:22:00 -0000 1.9
+++ patches/patch-src_bootstrap_lib_rs 17 Feb 2018 12:13:30 -0000
@@ -1,9 +1,10 @@
 $OpenBSD: patch-src_bootstrap_lib_rs,v 1.9 2018/01/27 09:22:00 landry Exp $
-Let us compilation choice to be honored.
+let us compilation choice to be honored.
+define extended_error as absolute path (8c9bf663d4a8074e4955d1ad3f85a3b82e946297).
 Index: src/bootstrap/lib.rs
 --- src/bootstrap/lib.rs.orig
 +++ src/bootstrap/lib.rs
-@@ -636,7 +636,6 @@ impl Build {
+@@ -632,7 +632,6 @@ impl Build {
          // cc-rs because the build scripts will determine that for themselves.
          let mut base = self.cc[&target].args().iter()
                             .map(|s| s.to_string_lossy().into_owned())
@@ -11,3 +12,15 @@ Index: src/bootstrap/lib.rs
                             .collect::<Vec<_>>();
 
          // If we're compiling on macOS then we add a few unconditional flags
+@@ -719,6 +718,11 @@ impl Build {
+     /// Path to the python interpreter to use
+     fn python(&self) -> &Path {
+         self.config.python.as_ref().unwrap()
++    }
++
++    /// Temporary directory that extended error information is emitted to.
++    fn extended_error_dir(&self) -> PathBuf {
++        self.out.join("tmp/extended-error-metadata")
+     }
+
+     /// Tests whether the `compiler` compiling for `target` should be forced to
Index: patches/patch-src_etc_cat-and-grep_sh
===================================================================
RCS file: patches/patch-src_etc_cat-and-grep_sh
diff -N patches/patch-src_etc_cat-and-grep_sh
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_etc_cat-and-grep_sh 17 Feb 2018 12:13:30 -0000
@@ -0,0 +1,23 @@
+$OpenBSD$
+Use ggrep instead of grep.
+Index: src/etc/cat-and-grep.sh
+--- src/etc/cat-and-grep.sh.orig
++++ src/etc/cat-and-grep.sh
+@@ -36,7 +36,7 @@ Options:
+     -i      Case insensitive search.
+ '
+
+-GREPPER=fgrep
++GREPPER=gfgrep
+ INVERT=0
+ GREPFLAGS='q'
+ while getopts ':vieh' OPTION; do
+@@ -49,7 +49,7 @@ while getopts ':vieh' OPTION; do
+             GREPFLAGS="i$GREPFLAGS"
+             ;;
+         e)
+-            GREPPER=egrep
++            GREPPER=gegrep
+             ;;
+         h)
+             echo "$USAGE"
Index: patches/patch-src_librustc_back_target_openbsd_base_rs
===================================================================
RCS file: patches/patch-src_librustc_back_target_openbsd_base_rs
diff -N patches/patch-src_librustc_back_target_openbsd_base_rs
--- patches/patch-src_librustc_back_target_openbsd_base_rs 4 Dec 2017 17:31:49 -0000 1.4
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,13 +0,0 @@
-$OpenBSD: patch-src_librustc_back_target_openbsd_base_rs,v 1.4 2017/12/04 17:31:49 landry Exp $
-Workaround for https://github.com/rust-lang/rust/issues/43575
-Index: src/librustc_back/target/openbsd_base.rs
---- src/librustc_back/target/openbsd_base.rs.orig
-+++ src/librustc_back/target/openbsd_base.rs
-@@ -35,6 +35,7 @@ pub fn opts() -> TargetOptions {
-         pre_link_args: args,
-         position_independent_executables: true,
-         relro_level: RelroLevel::Full,
-+        eliminate_frame_pointer: false,
-         .. Default::default()
-     }
- }
Index: patches/patch-src_librustc_llvm_build_rs
===================================================================
RCS file: patches/patch-src_librustc_llvm_build_rs
diff -N patches/patch-src_librustc_llvm_build_rs
--- patches/patch-src_librustc_llvm_build_rs 4 Dec 2017 17:31:49 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,16 +0,0 @@
-$OpenBSD: patch-src_librustc_llvm_build_rs,v 1.1 2017/12/04 17:31:49 landry Exp $
-Use c++ for OpenBSD instead of stdc++
-Index: src/librustc_llvm/build.rs
---- src/librustc_llvm/build.rs.orig
-+++ src/librustc_llvm/build.rs
-@@ -252,8 +252,8 @@ fn main() {
-     let llvm_static_stdcpp = env::var_os("LLVM_STATIC_STDCPP");
-
-     let stdcppname = if target.contains("openbsd") {
--        // OpenBSD has a particular C++ runtime library name
--        "estdc++"
-+        // llvm-config on OpenBSD doesn't mention stdlib=libc++
-+        "c++"
-     } else if target.contains("netbsd") && llvm_static_stdcpp.is_some() {
-         // NetBSD uses a separate library when relocation is required
-         "stdc++_pic"
Index: patches/patch-src_librustdoc_test_rs
===================================================================
RCS file: /cvs/ports/lang/rust/patches/patch-src_librustdoc_test_rs,v
retrieving revision 1.13
diff -u -p -r1.13 patch-src_librustdoc_test_rs
--- patches/patch-src_librustdoc_test_rs 27 Jan 2018 09:22:00 -0000 1.13
+++ patches/patch-src_librustdoc_test_rs 17 Feb 2018 12:13:30 -0000
@@ -3,7 +3,7 @@ fallback to LOCALBASE as default sysroot
 Index: src/librustdoc/test.rs
 --- src/librustdoc/test.rs.orig
 +++ src/librustdoc/test.rs
-@@ -69,7 +69,10 @@ pub fn run(input: &str,
+@@ -66,7 +66,10 @@ pub fn run(input_path: &Path,
 
      let sessopts = config::Options {
          maybe_sysroot: maybe_sysroot.clone().or_else(
@@ -15,7 +15,7 @@ Index: src/librustdoc/test.rs
          search_paths: libs.clone(),
          crate_types: vec![config::CrateTypeDylib],
          externs: externs.clone(),
-@@ -197,7 +200,10 @@ fn run_test(test: &str, cratename: &str, filename: &st
+@@ -195,7 +198,10 @@ fn run_test(test: &str, cratename: &str, filename: &Fi
 
      let sessopts = config::Options {
          maybe_sysroot: maybe_sysroot.or_else(
Index: patches/patch-src_libstd_sys_unix_os_rs
===================================================================
RCS file: /cvs/ports/lang/rust/patches/patch-src_libstd_sys_unix_os_rs,v
retrieving revision 1.6
diff -u -p -r1.6 patch-src_libstd_sys_unix_os_rs
--- patches/patch-src_libstd_sys_unix_os_rs 4 Dec 2017 17:31:49 -0000 1.6
+++ patches/patch-src_libstd_sys_unix_os_rs 17 Feb 2018 12:13:30 -0000
@@ -3,7 +3,7 @@ argv0 isn't suitable as current_exe() in
 Index: src/libstd/sys/unix/os.rs
 --- src/libstd/sys/unix/os.rs.orig
 +++ src/libstd/sys/unix/os.rs
-@@ -243,13 +243,14 @@ pub fn current_exe() -> io::Result<PathBuf> {
+@@ -270,13 +270,14 @@ pub fn current_exe() -> io::Result<PathBuf> {
          argv.set_len(argv_len as usize);
          if argv[0].is_null() {
              return Err(io::Error::new(io::ErrorKind::Other,
Index: patches/patch-src_libsyntax_diagnostics_metadata_rs
===================================================================
RCS file: patches/patch-src_libsyntax_diagnostics_metadata_rs
diff -N patches/patch-src_libsyntax_diagnostics_metadata_rs
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_libsyntax_diagnostics_metadata_rs 17 Feb 2018 12:13:30 -0000
@@ -0,0 +1,35 @@
+$OpenBSD$
+return metadata_dir as absolute path (8c9bf663d4a8074e4955d1ad3f85a3b82e946297).
+Index: src/libsyntax/diagnostics/metadata.rs
+--- src/libsyntax/diagnostics/metadata.rs.orig
++++ src/libsyntax/diagnostics/metadata.rs
+@@ -15,6 +15,7 @@
+
+ use std::collections::BTreeMap;
+ use std::path::PathBuf;
++use std::env;
+ use std::fs::{remove_file, create_dir_all, File};
+ use std::io::Write;
+ use std::error::Error;
+@@ -24,9 +25,6 @@ use syntax_pos::{Span, FileName};
+ use ext::base::ExtCtxt;
+ use diagnostics::plugin::{ErrorMap, ErrorInfo};
+
+-// Default metadata directory to use for extended error JSON.
+-const ERROR_METADATA_PREFIX: &'static str = "tmp/extended-errors";
+-
+ /// JSON encodable/decodable version of `ErrorInfo`.
+ #[derive(PartialEq, RustcDecodable, RustcEncodable)]
+ pub struct ErrorMetadata {
+@@ -59,7 +57,10 @@ impl ErrorLocation {
+ ///
+ /// See `output_metadata`.
+ pub fn get_metadata_dir(prefix: &str) -> PathBuf {
+-    PathBuf::from(ERROR_METADATA_PREFIX).join(prefix)
++    env::var_os("RUSTC_ERROR_METADATA_DST")
++         .map(PathBuf::from)
++         .expect("env var `RUSTC_ERROR_METADATA_DST` isn't set")
++         .join(prefix)
+ }
+
+ /// Map `name` to a path in the given directory: <directory>/<name>.json
Index: patches/patch-src_libunwind_build_rs
===================================================================
RCS file: patches/patch-src_libunwind_build_rs
diff -N patches/patch-src_libunwind_build_rs
--- patches/patch-src_libunwind_build_rs 4 Dec 2017 17:31:49 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,14 +0,0 @@
-$OpenBSD: patch-src_libunwind_build_rs,v 1.1 2017/12/04 17:31:49 landry Exp $
-Use c++ for OpenBSD instead of stdc++
-Index: src/libunwind/build.rs
---- src/libunwind/build.rs.orig
-+++ src/libunwind/build.rs
-@@ -27,7 +27,7 @@ fn main() {
-     } else if target.contains("netbsd") {
-         println!("cargo:rustc-link-lib=gcc_s");
-     } else if target.contains("openbsd") {
--        println!("cargo:rustc-link-lib=gcc");
-+        println!("cargo:rustc-link-lib=c++abi");
-     } else if target.contains("solaris") {
-         println!("cargo:rustc-link-lib=gcc_s");
-     } else if target.contains("bitrig") {
Index: patches/patch-src_rustllvm_ArchiveWrapper_cpp
===================================================================
RCS file: patches/patch-src_rustllvm_ArchiveWrapper_cpp
diff -N patches/patch-src_rustllvm_ArchiveWrapper_cpp
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_rustllvm_ArchiveWrapper_cpp 17 Feb 2018 12:13:30 -0000
@@ -0,0 +1,44 @@
+$OpenBSD$
+Backport patches for LLVM 6 compatibility:
+ caedb36f081334451ba83e9524af025891208592
+ b6fe1127e4b28aded8a1b0f95340e2de7dc12716
+Index: src/rustllvm/ArchiveWrapper.cpp
+--- src/rustllvm/ArchiveWrapper.cpp.orig
++++ src/rustllvm/ArchiveWrapper.cpp
+@@ -42,7 +42,6 @@ struct RustArchiveIterator {
+ enum class LLVMRustArchiveKind {
+   Other,
+   GNU,
+-  MIPS64,
+   BSD,
+   COFF,
+ };
+@@ -51,8 +50,6 @@ static Archive::Kind fromRust(LLVMRustArchiveKind Kind
+   switch (Kind) {
+   case LLVMRustArchiveKind::GNU:
+     return Archive::K_GNU;
+-  case LLVMRustArchiveKind::MIPS64:
+-    return Archive::K_MIPS64;
+   case LLVMRustArchiveKind::BSD:
+     return Archive::K_BSD;
+   case LLVMRustArchiveKind::COFF:
+@@ -235,9 +232,16 @@ LLVMRustWriteArchive(char *Dst, size_t NumMembers,
+       Members.push_back(std::move(*MOrErr));
+     }
+   }
+-  auto Pair = writeArchive(Dst, Members, WriteSymbtab, Kind, true, false);
+-  if (!Pair.second)
++  auto Result = writeArchive(Dst, Members, WriteSymbtab, Kind, true, false);
++#if LLVM_VERSION_GE(6, 0)
++  if (!Result)
+     return LLVMRustResult::Success;
+-  LLVMRustSetLastError(Pair.second.message().c_str());
++  LLVMRustSetLastError(toString(std::move(Result)).c_str());
++#else
++  if (!Result.second)
++    return LLVMRustResult::Success;
++  LLVMRustSetLastError(Result.second.message().c_str());
++#endif
++  
+   return LLVMRustResult::Failure;
+ }
Index: patches/patch-src_rustllvm_PassWrapper_cpp
===================================================================
RCS file: patches/patch-src_rustllvm_PassWrapper_cpp
diff -N patches/patch-src_rustllvm_PassWrapper_cpp
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_rustllvm_PassWrapper_cpp 17 Feb 2018 12:13:30 -0000
@@ -0,0 +1,67 @@
+$OpenBSD$
+Backport patches for LLVM 6 compatibility:
+ 2a7ed74d96168fe1c187fbaa0d74dc52974b6ecf
+ 03f86ae9829a0a5c6f4fbef0530809b1d24ede3c
+Index: src/rustllvm/PassWrapper.cpp
+--- src/rustllvm/PassWrapper.cpp.orig
++++ src/rustllvm/PassWrapper.cpp
+@@ -23,7 +23,14 @@
+ #include "llvm/Support/FileSystem.h"
+ #include "llvm/Support/Host.h"
+ #include "llvm/Target/TargetMachine.h"
++
++#if LLVM_VERSION_GE(6, 0)
++#include "llvm/CodeGen/TargetSubtargetInfo.h"
++#include "llvm/IR/IntrinsicInst.h"
++#else
+ #include "llvm/Target/TargetSubtargetInfo.h"
++#endif
++
+ #include "llvm/Transforms/IPO/PassManagerBuilder.h"
+
+ #if LLVM_VERSION_GE(4, 0)
+@@ -210,20 +217,15 @@ extern "C" bool LLVMRustHasFeature(LLVMTargetMachineRe
+
+ enum class LLVMRustCodeModel {
+   Other,
+-  Default,
+-  JITDefault,
+   Small,
+   Kernel,
+   Medium,
+   Large,
++  None,
+ };
+
+ static CodeModel::Model fromRust(LLVMRustCodeModel Model) {
+   switch (Model) {
+-  case LLVMRustCodeModel::Default:
+-    return CodeModel::Default;
+-  case LLVMRustCodeModel::JITDefault:
+-    return CodeModel::JITDefault;
+   case LLVMRustCodeModel::Small:
+     return CodeModel::Small;
+   case LLVMRustCodeModel::Kernel:
+@@ -360,7 +362,6 @@ extern "C" LLVMTargetMachineRef LLVMRustCreateTargetMa
+     bool TrapUnreachable,
+     bool Singlethread) {
+
+-  auto CM = fromRust(RustCM);
+   auto OptLevel = fromRust(RustOptLevel);
+   auto RM = fromRust(RustReloc);
+
+@@ -398,6 +399,14 @@ extern "C" LLVMTargetMachineRef LLVMRustCreateTargetMa
+   if (Singlethread) {
+     Options.ThreadModel = ThreadModel::Single;
+   }
++
++#if LLVM_VERSION_GE(6, 0)
++  Optional<CodeModel::Model> CM;
++#else
++  CodeModel::Model CM = CodeModel::Model::Default;
++#endif
++  if (RustCM != LLVMRustCodeModel::None)
++      CM = fromRust(RustCM);
+
+   TargetMachine *TM = TheTarget->createTargetMachine(
+       Trip.getTriple(), RealCPU, Feature, Options, RM, CM, OptLevel);
Index: patches/patch-src_rustllvm_RustWrapper_cpp
===================================================================
RCS file: patches/patch-src_rustllvm_RustWrapper_cpp
diff -N patches/patch-src_rustllvm_RustWrapper_cpp
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_rustllvm_RustWrapper_cpp 17 Feb 2018 12:13:30 -0000
@@ -0,0 +1,18 @@
+$OpenBSD$
+Backport patches for LLVM 6 compatibility:
+ 9eeecd2adad8c5c94348dbd1c61709fa49f65ff8
+Index: src/rustllvm/RustWrapper.cpp
+--- src/rustllvm/RustWrapper.cpp.orig
++++ src/rustllvm/RustWrapper.cpp
+@@ -315,7 +315,11 @@ extern "C" void LLVMRustRemoveFunctionAttributes(LLVMV
+ // enable fpmath flag UnsafeAlgebra
+ extern "C" void LLVMRustSetHasUnsafeAlgebra(LLVMValueRef V) {
+   if (auto I = dyn_cast<Instruction>(unwrap<Value>(V))) {
++#if LLVM_VERSION_GE(6, 0)
++    I->setFast(true);
++#else
+     I->setHasUnsafeAlgebra(true);
++#endif
+   }
+ }
+
Index: patches/patch-src_test_run-make_relocation-model_Makefile
===================================================================
RCS file: patches/patch-src_test_run-make_relocation-model_Makefile
diff -N patches/patch-src_test_run-make_relocation-model_Makefile
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_test_run-make_relocation-model_Makefile 17 Feb 2018 12:13:30 -0000
@@ -0,0 +1,15 @@
+$OpenBSD$
+skip test: relocation error
+Index: src/test/run-make/relocation-model/Makefile
+--- src/test/run-make/relocation-model/Makefile.orig
++++ src/test/run-make/relocation-model/Makefile
+@@ -1,5 +1,9 @@
+ -include ../tools.mk
+
++ifeq ($(UNAME),OpenBSD)
++skip:
++endif
++
+ all: others
+ $(RUSTC) -C relocation-model=dynamic-no-pic foo.rs
+ $(call RUN,foo)
Index: patches/patch-src_test_run-make_tools_mk
===================================================================
RCS file: patches/patch-src_test_run-make_tools_mk
diff -N patches/patch-src_test_run-make_tools_mk
--- patches/patch-src_test_run-make_tools_mk 27 Jan 2018 09:22:00 -0000 1.5
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,14 +0,0 @@
-$OpenBSD: patch-src_test_run-make_tools_mk,v 1.5 2018/01/27 09:22:00 landry Exp $
-Use c++ for OpenBSD instead of stdc++
-Index: src/test/run-make/tools.mk
---- src/test/run-make/tools.mk.orig
-+++ src/test/run-make/tools.mk
-@@ -92,7 +92,7 @@ ifeq ($(UNAME),SunOS)
- EXTRACFLAGS := -lm -lpthread -lposix4 -lsocket -lresolv
- else
- ifeq ($(UNAME),OpenBSD)
-- EXTRACFLAGS := -lm -lpthread
-+ EXTRACFLAGS := -lm -lpthread -lc++abi
- RUSTC := $(RUSTC) -C linker="$(word 1,$(CC:ccache=))"
- else
- EXTRACFLAGS := -lm -lrt -ldl -lpthread
Index: patches/patch-src_tools_cargo_src_cargo_util_config_rs
===================================================================
RCS file: patches/patch-src_tools_cargo_src_cargo_util_config_rs
diff -N patches/patch-src_tools_cargo_src_cargo_util_config_rs
--- patches/patch-src_tools_cargo_src_cargo_util_config_rs 27 Jan 2018 09:22:00 -0000 1.4
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,23 +0,0 @@
-$OpenBSD: patch-src_tools_cargo_src_cargo_util_config_rs,v 1.4 2018/01/27 09:22:00 landry Exp $
-fallback to LOCALBASE as default path for cargo binary.
-Index: src/tools/cargo/src/cargo/util/config.rs
---- src/tools/cargo/src/cargo/util/config.rs.orig
-+++ src/tools/cargo/src/cargo/util/config.rs
-@@ -161,9 +161,14 @@ impl Config {
-                 // The method varies per operating system and might fail; in particular,
-                 // it depends on /proc being mounted on Linux, and some environments
-                 // (like containers or chroots) may not have that available.
--                env::current_exe()
--                    .and_then(|path| path.canonicalize())
--                    .map_err(CargoError::from)
-+                match env::current_exe() {
-+                    Ok(path) => Ok(path),
-+                    Err(_) => match option_env!("LOCALBASE") {
-+                        Some(dir) => Ok(PathBuf::from(dir).join("bin").join("cargo")),
-+                        None => panic!("invalid configuration at compile-time: undefined LOCALBASE"),
-+                    },
-+                }.and_then(|path| path.canonicalize())
-+                .map_err(CargoError::from)
-             }
-
-             fn from_argv() -> CargoResult<PathBuf> {
Index: pkg/PFRAG.amd64-main
===================================================================
RCS file: /cvs/ports/lang/rust/pkg/PFRAG.amd64-main,v
retrieving revision 1.10
diff -u -p -r1.10 PFRAG.amd64-main
--- pkg/PFRAG.amd64-main 27 Jan 2018 09:22:00 -0000 1.10
+++ pkg/PFRAG.amd64-main 17 Feb 2018 12:13:31 -0000
@@ -1,107 +1,118 @@
 @comment $OpenBSD: PFRAG.amd64-main,v 1.10 2018/01/27 09:22:00 landry Exp $
-lib/libarena-356972411b8e964b.so
-lib/libfmt_macros-72e8390a9b169b2b.so
-lib/libgraphviz-156a6eaac05591c1.so
-lib/libproc_macro-b4780b8575ab59ac.so
-lib/librustc-657b970c0a1b05e9.so
-lib/librustc_allocator-e24f17b4d67c2699.so
-lib/librustc_back-a40281a1d6bc9609.so
-lib/librustc_borrowck-fac1fd27a9dc0deb.so
-lib/librustc_const_eval-1e98d5b0c859d395.so
-lib/librustc_const_math-e84711b89b8d4595.so
-lib/librustc_cratesio_shim-de9af4572ba9c6af.so
-lib/librustc_data_structures-eb5b1dbb716d0f0f.so
-lib/librustc_driver-c0b2a83905f85f7f.so
-lib/librustc_errors-16f0320aafc125f9.so
-lib/librustc_incremental-c0dbf15d4dd68e0a.so
-lib/librustc_lint-e2f1d12cb037c8c0.so
-lib/librustc_llvm-2ef99ce697033888.so
-lib/librustc_metadata-ec7f41ffda4b0ef2.so
-lib/librustc_mir-941a038da9a64d70.so
-lib/librustc_passes-674710c762933e2a.so
-lib/librustc_platform_intrinsics-1cf2b50629c1dceb.so
-lib/librustc_plugin-7a7d8020f0f50bd5.so
-lib/librustc_privacy-e57df2cda21c2c21.so
-lib/librustc_resolve-a7d62d5d06bbac38.so
-lib/librustc_save_analysis-9b7d6783524e24e0.so
-lib/librustc_trans-96a0b69ffc7b494d.so
-lib/librustc_trans_utils-3b843c6bbd1721e9.so
-lib/librustc_typeck-43b21cc7842728f7.so
-lib/libserialize-c1c93f9a2e5d1604.so
-lib/libstd-57f1f8efd399c8c5.so
-lib/libsyntax-104c3fc91f498be2.so
-lib/libsyntax_ext-0d811844459e6dbe.so
-lib/libsyntax_pos-d21912a8f3ee2f37.so
-lib/libterm-1ae6cf862b53cf93.so
-lib/libtest-5928c0b3e0f2cef6.so
+lib/libarena-e5cbbe213e43328b.so
+lib/libfmt_macros-5f920b4d9e29c329.so
+lib/libgraphviz-efc631ec349f2bd6.so
+lib/libproc_macro-45b7c6e691456b3b.so
+lib/librustc-44847cd10bf8c4b4.so
+lib/librustc_allocator-4cacb7008867aaa6.so
+lib/librustc_back-d5fc11b79e855d8c.so
+lib/librustc_borrowck-a67f60d03ae9d33b.so
+lib/librustc_const_eval-9a3d103e327f917a.so
+lib/librustc_const_math-d1c4ec31aa25db79.so
+lib/librustc_cratesio_shim-aec347a5ba3870ba.so
+lib/librustc_data_structures-f5099eb4e8cb22a9.so
+lib/librustc_driver-e1adaacc77d481ac.so
+lib/librustc_errors-e00d9b7932bf0106.so
+lib/librustc_incremental-20b1be3a60661597.so
+lib/librustc_lint-2139e1f8dd29b856.so
+lib/librustc_llvm-03fe8b1005c5e1bf.so
+lib/librustc_metadata-03c813d57ee557b9.so
+lib/librustc_mir-249cb74389afd350.so
+lib/librustc_passes-c2ecd867dda823e1.so
+lib/librustc_platform_intrinsics-0e09b25ab293b9cd.so
+lib/librustc_plugin-2c588646397ede75.so
+lib/librustc_privacy-63d90cd4706d2191.so
+lib/librustc_resolve-364ff3f95bba3f57.so
+lib/librustc_save_analysis-126e27651d9ee804.so
+lib/librustc_trans-bd9dc41cfa70c1b3.so
+lib/librustc_trans_utils-5707ee613271b8e7.so
+lib/librustc_typeck-4d4703e233e9bfe3.so
+lib/libserialize-02310578674602f2.so
+lib/libstd-3b6b56d8c88cdc51.so
+lib/libsyntax-3ca53a0f58d3a0e8.so
+lib/libsyntax_ext-05fe269c9092105e.so
+lib/libsyntax_pos-269489abeb79db40.so
+lib/libterm-af7022a4926b5b2a.so
+lib/libtest-c10374a00d5dd393.so
 lib/rustlib/x86_64-unknown-openbsd/
 lib/rustlib/x86_64-unknown-openbsd/lib/
-lib/rustlib/x86_64-unknown-openbsd/lib/liballoc-230e76d7b970cfa0.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/liballoc_jemalloc-cf8fbbc4abde906e.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/liballoc_system-e54f2da314d33e08.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/libar-25d17552283ac31e.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/libarena-356972411b8e964b.so
-lib/rustlib/x86_64-unknown-openbsd/lib/libbitflags-e9f2c507403d47cf.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/libcompiler_builtins-caceb8faa1e24fb9.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/libcore-11da8b6c15305876.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/libenv_logger-899edbe22ad85959.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/libflate2-798f274ecd144d60.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/libfmt_macros-72e8390a9b169b2b.so
-lib/rustlib/x86_64-unknown-openbsd/lib/libgetopts-d8c9babbdfe6576b.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/libgraphviz-156a6eaac05591c1.so
-lib/rustlib/x86_64-unknown-openbsd/lib/libjobserver-af0b79839514cf03.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/liblibc-3c3bd19fdf78fda5.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/liblibc-a2076cb706b8680d.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/liblog-eaee9ce0006c6fb7.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/libminiz_sys-71408e742de54c2e.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/libnum_cpus-49d175e6348de1d6.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/libowning_ref-13c2dfb8c3b274c2.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/libpanic_abort-8c090e2c80513b21.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/libpanic_unwind-43189daaf5f6cb60.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/libproc_macro-b4780b8575ab59ac.so
-lib/rustlib/x86_64-unknown-openbsd/lib/librand-7f99c9ebd3a79c32.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/librls_data-e366a8c3c96c5035.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/librls_span-2c756df2d3f57eb9.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/librustc-657b970c0a1b05e9.so
-lib/rustlib/x86_64-unknown-openbsd/lib/librustc_allocator-e24f17b4d67c2699.so
-lib/rustlib/x86_64-unknown-openbsd/lib/librustc_apfloat-0d850f37e4bc10e8.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/librustc_back-a40281a1d6bc9609.so
-lib/rustlib/x86_64-unknown-openbsd/lib/librustc_binaryen-803e0d710b87d339.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/librustc_borrowck-fac1fd27a9dc0deb.so
-lib/rustlib/x86_64-unknown-openbsd/lib/librustc_const_eval-1e98d5b0c859d395.so
-lib/rustlib/x86_64-unknown-openbsd/lib/librustc_const_math-e84711b89b8d4595.so
-lib/rustlib/x86_64-unknown-openbsd/lib/librustc_cratesio_shim-de9af4572ba9c6af.so
-lib/rustlib/x86_64-unknown-openbsd/lib/librustc_data_structures-eb5b1dbb716d0f0f.so
-lib/rustlib/x86_64-unknown-openbsd/lib/librustc_demangle-8435d608ae4e77ab.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/librustc_driver-c0b2a83905f85f7f.so
-lib/rustlib/x86_64-unknown-openbsd/lib/librustc_errors-16f0320aafc125f9.so
-lib/rustlib/x86_64-unknown-openbsd/lib/librustc_incremental-c0dbf15d4dd68e0a.so
-lib/rustlib/x86_64-unknown-openbsd/lib/librustc_lint-e2f1d12cb037c8c0.so
-lib/rustlib/x86_64-unknown-openbsd/lib/librustc_llvm-2ef99ce697033888.so
-lib/rustlib/x86_64-unknown-openbsd/lib/librustc_metadata-ec7f41ffda4b0ef2.so
-lib/rustlib/x86_64-unknown-openbsd/lib/librustc_mir-941a038da9a64d70.so
-lib/rustlib/x86_64-unknown-openbsd/lib/librustc_passes-674710c762933e2a.so
-lib/rustlib/x86_64-unknown-openbsd/lib/librustc_platform_intrinsics-1cf2b50629c1dceb.so
-lib/rustlib/x86_64-unknown-openbsd/lib/librustc_plugin-7a7d8020f0f50bd5.so
-lib/rustlib/x86_64-unknown-openbsd/lib/librustc_privacy-e57df2cda21c2c21.so
-lib/rustlib/x86_64-unknown-openbsd/lib/librustc_resolve-a7d62d5d06bbac38.so
-lib/rustlib/x86_64-unknown-openbsd/lib/librustc_save_analysis-9b7d6783524e24e0.so
-lib/rustlib/x86_64-unknown-openbsd/lib/librustc_serialize-caa297b5c17d4f92.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/librustc_trans-96a0b69ffc7b494d.so
-lib/rustlib/x86_64-unknown-openbsd/lib/librustc_trans_utils-3b843c6bbd1721e9.so
-lib/rustlib/x86_64-unknown-openbsd/lib/librustc_typeck-43b21cc7842728f7.so
-lib/rustlib/x86_64-unknown-openbsd/lib/libserialize-c1c93f9a2e5d1604.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/libserialize-c1c93f9a2e5d1604.so
-lib/rustlib/x86_64-unknown-openbsd/lib/libstable_deref_trait-e8865476ef8da955.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/libstd-57f1f8efd399c8c5.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/libstd-57f1f8efd399c8c5.so
-lib/rustlib/x86_64-unknown-openbsd/lib/libstd_unicode-9de3dc6bcb309779.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/libsyntax-104c3fc91f498be2.so
-lib/rustlib/x86_64-unknown-openbsd/lib/libsyntax_ext-0d811844459e6dbe.so
-lib/rustlib/x86_64-unknown-openbsd/lib/libsyntax_pos-d21912a8f3ee2f37.so
-lib/rustlib/x86_64-unknown-openbsd/lib/libterm-1ae6cf862b53cf93.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/libterm-1ae6cf862b53cf93.so
-lib/rustlib/x86_64-unknown-openbsd/lib/libtest-5928c0b3e0f2cef6.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/libtest-5928c0b3e0f2cef6.so
-lib/rustlib/x86_64-unknown-openbsd/lib/libunicode_width-e15ad296071511b9.rlib
-lib/rustlib/x86_64-unknown-openbsd/lib/libunwind-c2744351ead5ccef.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/liballoc-a65e223b2fca1017.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/liballoc_jemalloc-b551f256368074e0.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/liballoc_system-5eff6ccc76cbb957.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/libar-85ea6a3e0e1eed75.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/libarena-e5cbbe213e43328b.so
+lib/rustlib/x86_64-unknown-openbsd/lib/libbacktrace-1406285425bbaeb8.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/libbacktrace_sys-efcc2374d709d3c8.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/libbitflags-4f2855e05400c873.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/libbyteorder-fcd57fe62794841d.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/libcfg_if-7432995876ca52d8.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/libcompiler_builtins-93978d50d1937517.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/libcore-c9d0b606a453447a.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/libenv_logger-3b0a78520e6ba968.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/libflate2-6f4c3c457d915a25.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/libfmt_macros-5f920b4d9e29c329.so
+lib/rustlib/x86_64-unknown-openbsd/lib/libgetopts-af0d9f65b1311d36.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/libgraphviz-efc631ec349f2bd6.so
+lib/rustlib/x86_64-unknown-openbsd/lib/libjobserver-a50f311fd7796072.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/liblazy_static-012b76bcea65825b.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/liblibc-8d7cda1904363dee.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/liblibc-db6b24750c576229.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/liblog-01b8e10f5d434d25.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/liblog-71f4f7ec0b54b4a4.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/liblog_settings-05087399a42a8447.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/libminiz_sys-62709d41d541f46f.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/libnum_cpus-d7699686f893f116.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/libowning_ref-2fc1cd192ac0b458.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/libpanic_abort-d16e958a528ca0a3.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/libpanic_unwind-f7e713e9a449a0a5.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/libparking_lot-31ddf9d476a0e819.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/libparking_lot_core-bb8c37955f26ea24.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/libproc_macro-45b7c6e691456b3b.so
+lib/rustlib/x86_64-unknown-openbsd/lib/librand-0a6e687ae9fd13eb.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/librls_data-b31ea4cdbf559d2e.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/librls_span-2ec8b02b9fe326e4.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/librustc-44847cd10bf8c4b4.so
+lib/rustlib/x86_64-unknown-openbsd/lib/librustc_allocator-4cacb7008867aaa6.so
+lib/rustlib/x86_64-unknown-openbsd/lib/librustc_apfloat-6f4d56d048112dc6.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/librustc_back-d5fc11b79e855d8c.so
+lib/rustlib/x86_64-unknown-openbsd/lib/librustc_binaryen-6185a4934ae3c76e.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/librustc_borrowck-a67f60d03ae9d33b.so
+lib/rustlib/x86_64-unknown-openbsd/lib/librustc_const_eval-9a3d103e327f917a.so
+lib/rustlib/x86_64-unknown-openbsd/lib/librustc_const_math-d1c4ec31aa25db79.so
+lib/rustlib/x86_64-unknown-openbsd/lib/librustc_cratesio_shim-aec347a5ba3870ba.so
+lib/rustlib/x86_64-unknown-openbsd/lib/librustc_data_structures-f5099eb4e8cb22a9.so
+lib/rustlib/x86_64-unknown-openbsd/lib/librustc_demangle-a723b9f451ae6f4f.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/librustc_driver-e1adaacc77d481ac.so
+lib/rustlib/x86_64-unknown-openbsd/lib/librustc_errors-e00d9b7932bf0106.so
+lib/rustlib/x86_64-unknown-openbsd/lib/librustc_incremental-20b1be3a60661597.so
+lib/rustlib/x86_64-unknown-openbsd/lib/librustc_lint-2139e1f8dd29b856.so
+lib/rustlib/x86_64-unknown-openbsd/lib/librustc_llvm-03fe8b1005c5e1bf.so
+lib/rustlib/x86_64-unknown-openbsd/lib/librustc_metadata-03c813d57ee557b9.so
+lib/rustlib/x86_64-unknown-openbsd/lib/librustc_mir-249cb74389afd350.so
+lib/rustlib/x86_64-unknown-openbsd/lib/librustc_passes-c2ecd867dda823e1.so
+lib/rustlib/x86_64-unknown-openbsd/lib/librustc_platform_intrinsics-0e09b25ab293b9cd.so
+lib/rustlib/x86_64-unknown-openbsd/lib/librustc_plugin-2c588646397ede75.so
+lib/rustlib/x86_64-unknown-openbsd/lib/librustc_privacy-63d90cd4706d2191.so
+lib/rustlib/x86_64-unknown-openbsd/lib/librustc_resolve-364ff3f95bba3f57.so
+lib/rustlib/x86_64-unknown-openbsd/lib/librustc_save_analysis-126e27651d9ee804.so
+lib/rustlib/x86_64-unknown-openbsd/lib/librustc_serialize-faee62791d934816.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/librustc_trans-bd9dc41cfa70c1b3.so
+lib/rustlib/x86_64-unknown-openbsd/lib/librustc_trans_utils-5707ee613271b8e7.so
+lib/rustlib/x86_64-unknown-openbsd/lib/librustc_typeck-4d4703e233e9bfe3.so
+lib/rustlib/x86_64-unknown-openbsd/lib/libserialize-02310578674602f2.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/libserialize-02310578674602f2.so
+lib/rustlib/x86_64-unknown-openbsd/lib/libsmallvec-a563b496f16701bf.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/libstable_deref_trait-f23320894b365b39.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/libstd-3b6b56d8c88cdc51.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/libstd-3b6b56d8c88cdc51.so
+lib/rustlib/x86_64-unknown-openbsd/lib/libstd_unicode-322dd74cef25a52d.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/libsyntax-3ca53a0f58d3a0e8.so
+lib/rustlib/x86_64-unknown-openbsd/lib/libsyntax_ext-05fe269c9092105e.so
+lib/rustlib/x86_64-unknown-openbsd/lib/libsyntax_pos-269489abeb79db40.so
+lib/rustlib/x86_64-unknown-openbsd/lib/libtempdir-c6f280b03503634d.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/libterm-af7022a4926b5b2a.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/libterm-af7022a4926b5b2a.so
+lib/rustlib/x86_64-unknown-openbsd/lib/libtest-c10374a00d5dd393.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/libtest-c10374a00d5dd393.so
+lib/rustlib/x86_64-unknown-openbsd/lib/libunicode_width-4fb681781b104711.rlib
+lib/rustlib/x86_64-unknown-openbsd/lib/libunwind-194776d85d7f811d.rlib
Index: pkg/PFRAG.i386-main
===================================================================
RCS file: /cvs/ports/lang/rust/pkg/PFRAG.i386-main,v
retrieving revision 1.10
diff -u -p -r1.10 PFRAG.i386-main
--- pkg/PFRAG.i386-main 27 Jan 2018 09:22:00 -0000 1.10
+++ pkg/PFRAG.i386-main 17 Feb 2018 12:13:31 -0000
@@ -1,107 +1,118 @@
 @comment $OpenBSD: PFRAG.i386-main,v 1.10 2018/01/27 09:22:00 landry Exp $
-lib/libarena-d7929fe2376b48cd.so
-lib/libfmt_macros-31c8398682950a63.so
-lib/libgraphviz-d0a272d99f00bdd8.so
-lib/libproc_macro-c328cbdd6622db93.so
-lib/librustc-7ba63c3cd6419590.so
-lib/librustc_allocator-ef129ddf24ad9485.so
-lib/librustc_back-55e4e5c40941b82e.so
-lib/librustc_borrowck-0e4359badf217a2b.so
-lib/librustc_const_eval-d0af2379e25edcca.so
-lib/librustc_const_math-aba2642f7b699109.so
-lib/librustc_cratesio_shim-4d65cf4300b517aa.so
-lib/librustc_data_structures-b8443bef67cf87ac.so
-lib/librustc_driver-9c81fa133f88503d.so
-lib/librustc_errors-984ecd2c6a785cf1.so
-lib/librustc_incremental-4be0ec01db7fc18b.so
-lib/librustc_lint-4cc12639a40b8fea.so
-lib/librustc_llvm-4b314e133b9b3dfd.so
-lib/librustc_metadata-1aafcc646d338613.so
-lib/librustc_mir-06eea15e4deb3e8d.so
-lib/librustc_passes-600d5ba3eb3abe6d.so
-lib/librustc_platform_intrinsics-fc3bdeadf30b6b38.so
-lib/librustc_plugin-42b156b8d8346798.so
-lib/librustc_privacy-fa623b87c28f9285.so
-lib/librustc_resolve-9a3b2faf94ffb338.so
-lib/librustc_save_analysis-688fe4a8c2252c59.so
-lib/librustc_trans-bdf5654f6384aa23.so
-lib/librustc_trans_utils-8f25c79e1206aeed.so
-lib/librustc_typeck-044777a542b7f77b.so
-lib/libserialize-25320100aa3d238d.so
-lib/libstd-2576a9dc58fd8156.so
-lib/libsyntax-c131f04b77a2392a.so
-lib/libsyntax_ext-76ce1510247657dd.so
-lib/libsyntax_pos-e9d5c176bc1b4a8b.so
-lib/libterm-a3b97158483ca6b8.so
-lib/libtest-b08cc98f0152dee9.so
+lib/libarena-cd790d2fad7e4b70.so
+lib/libfmt_macros-6c7bd9b76c86141c.so
+lib/libgraphviz-c59eaa9edcd247e6.so
+lib/libproc_macro-24c7c96d0acf31eb.so
+lib/librustc-dcd2e2cf9b69422c.so
+lib/librustc_allocator-a0663f0acd16a2fd.so
+lib/librustc_back-9a8ef63994444e3d.so
+lib/librustc_borrowck-417790fd4468977e.so
+lib/librustc_const_eval-051ba987d0a8112f.so
+lib/librustc_const_math-eead2bddce1b0cb9.so
+lib/librustc_cratesio_shim-b69aaaacd422f776.so
+lib/librustc_data_structures-b953bffd73a7583f.so
+lib/librustc_driver-be95aea25f81a24d.so
+lib/librustc_errors-2453f00f3cb48124.so
+lib/librustc_incremental-fc79fce2e9c9b47c.so
+lib/librustc_lint-9dd8b62d07a7eaf7.so
+lib/librustc_llvm-48466902b8b04d81.so
+lib/librustc_metadata-14b12122929aa6d0.so
+lib/librustc_mir-3e0baca0f489bdd1.so
+lib/librustc_passes-2c3d761b0b5653b3.so
+lib/librustc_platform_intrinsics-cba63b4814587f03.so
+lib/librustc_plugin-3ffd3b8406872358.so
+lib/librustc_privacy-8c535223dea3f178.so
+lib/librustc_resolve-42847630612c854c.so
+lib/librustc_save_analysis-eb05f4decda58edf.so
+lib/librustc_trans-5aa99e9997295f6c.so
+lib/librustc_trans_utils-dfddf48c5660cb25.so
+lib/librustc_typeck-c721d8ec2489e4cd.so
+lib/libserialize-f8b94a06fd7c9080.so
+lib/libstd-dca661497d12be83.so
+lib/libsyntax-34b928164c122010.so
+lib/libsyntax_ext-b4221fcf8be342d8.so
+lib/libsyntax_pos-f318d7fab4578a8d.so
+lib/libterm-86dc5f2da5897df1.so
+lib/libtest-52b2e4267ba28aa1.so
 lib/rustlib/i686-unknown-openbsd/
 lib/rustlib/i686-unknown-openbsd/lib/
-lib/rustlib/i686-unknown-openbsd/lib/liballoc-c42c4bd553b5acea.rlib
-lib/rustlib/i686-unknown-openbsd/lib/liballoc_jemalloc-a436e2ebaf58b36f.rlib
-lib/rustlib/i686-unknown-openbsd/lib/liballoc_system-d226e3071630dd6e.rlib
-lib/rustlib/i686-unknown-openbsd/lib/libar-4db4d02d22369480.rlib
-lib/rustlib/i686-unknown-openbsd/lib/libarena-d7929fe2376b48cd.so
-lib/rustlib/i686-unknown-openbsd/lib/libbitflags-ff8642779d69bdee.rlib
-lib/rustlib/i686-unknown-openbsd/lib/libcompiler_builtins-e5ce5347322a43d6.rlib
-lib/rustlib/i686-unknown-openbsd/lib/libcore-8198b48246578b70.rlib
-lib/rustlib/i686-unknown-openbsd/lib/libenv_logger-0051d62ee81b6709.rlib
-lib/rustlib/i686-unknown-openbsd/lib/libflate2-fc3d6e505ac0fba6.rlib
-lib/rustlib/i686-unknown-openbsd/lib/libfmt_macros-31c8398682950a63.so
-lib/rustlib/i686-unknown-openbsd/lib/libgetopts-6ba66dba4ff287a8.rlib
-lib/rustlib/i686-unknown-openbsd/lib/libgraphviz-d0a272d99f00bdd8.so
-lib/rustlib/i686-unknown-openbsd/lib/libjobserver-9ce7bb5659ed9ace.rlib
-lib/rustlib/i686-unknown-openbsd/lib/liblibc-a9a255788f2870b9.rlib
-lib/rustlib/i686-unknown-openbsd/lib/liblibc-fd17b18a17f2ba7f.rlib
-lib/rustlib/i686-unknown-openbsd/lib/liblog-1ff7f3b534015746.rlib
-lib/rustlib/i686-unknown-openbsd/lib/libminiz_sys-4c61f90a005d204a.rlib
-lib/rustlib/i686-unknown-openbsd/lib/libnum_cpus-79ba9ceccb5b4774.rlib
-lib/rustlib/i686-unknown-openbsd/lib/libowning_ref-58aea03606d2412c.rlib
-lib/rustlib/i686-unknown-openbsd/lib/libpanic_abort-55ed3098e4cbe950.rlib
-lib/rustlib/i686-unknown-openbsd/lib/libpanic_unwind-c5d83f2f7e64a62a.rlib
-lib/rustlib/i686-unknown-openbsd/lib/libproc_macro-c328cbdd6622db93.so
-lib/rustlib/i686-unknown-openbsd/lib/librand-2cffe4c0e9387925.rlib
-lib/rustlib/i686-unknown-openbsd/lib/librls_data-b6775081cf5881c5.rlib
-lib/rustlib/i686-unknown-openbsd/lib/librls_span-759c8d7b81f943ff.rlib
-lib/rustlib/i686-unknown-openbsd/lib/librustc-7ba63c3cd6419590.so
-lib/rustlib/i686-unknown-openbsd/lib/librustc_allocator-ef129ddf24ad9485.so
-lib/rustlib/i686-unknown-openbsd/lib/librustc_apfloat-c55317b08f0ff53c.rlib
-lib/rustlib/i686-unknown-openbsd/lib/librustc_back-55e4e5c40941b82e.so
-lib/rustlib/i686-unknown-openbsd/lib/librustc_binaryen-6189a6fb9f365bd9.rlib
-lib/rustlib/i686-unknown-openbsd/lib/librustc_borrowck-0e4359badf217a2b.so
-lib/rustlib/i686-unknown-openbsd/lib/librustc_const_eval-d0af2379e25edcca.so
-lib/rustlib/i686-unknown-openbsd/lib/librustc_const_math-aba2642f7b699109.so
-lib/rustlib/i686-unknown-openbsd/lib/librustc_cratesio_shim-4d65cf4300b517aa.so
-lib/rustlib/i686-unknown-openbsd/lib/librustc_data_structures-b8443bef67cf87ac.so
-lib/rustlib/i686-unknown-openbsd/lib/librustc_demangle-0f12944296e7b571.rlib
-lib/rustlib/i686-unknown-openbsd/lib/librustc_driver-9c81fa133f88503d.so
-lib/rustlib/i686-unknown-openbsd/lib/librustc_errors-984ecd2c6a785cf1.so
-lib/rustlib/i686-unknown-openbsd/lib/librustc_incremental-4be0ec01db7fc18b.so
-lib/rustlib/i686-unknown-openbsd/lib/librustc_lint-4cc12639a40b8fea.so
-lib/rustlib/i686-unknown-openbsd/lib/librustc_llvm-4b314e133b9b3dfd.so
-lib/rustlib/i686-unknown-openbsd/lib/librustc_metadata-1aafcc646d338613.so
-lib/rustlib/i686-unknown-openbsd/lib/librustc_mir-06eea15e4deb3e8d.so
-lib/rustlib/i686-unknown-openbsd/lib/librustc_passes-600d5ba3eb3abe6d.so
-lib/rustlib/i686-unknown-openbsd/lib/librustc_platform_intrinsics-fc3bdeadf30b6b38.so
-lib/rustlib/i686-unknown-openbsd/lib/librustc_plugin-42b156b8d8346798.so
-lib/rustlib/i686-unknown-openbsd/lib/librustc_privacy-fa623b87c28f9285.so
-lib/rustlib/i686-unknown-openbsd/lib/librustc_resolve-9a3b2faf94ffb338.so
-lib/rustlib/i686-unknown-openbsd/lib/librustc_save_analysis-688fe4a8c2252c59.so
-lib/rustlib/i686-unknown-openbsd/lib/librustc_serialize-fc2f7e575724f280.rlib
-lib/rustlib/i686-unknown-openbsd/lib/librustc_trans-bdf5654f6384aa23.so
-lib/rustlib/i686-unknown-openbsd/lib/librustc_trans_utils-8f25c79e1206aeed.so
-lib/rustlib/i686-unknown-openbsd/lib/librustc_typeck-044777a542b7f77b.so
-lib/rustlib/i686-unknown-openbsd/lib/libserialize-25320100aa3d238d.rlib
-lib/rustlib/i686-unknown-openbsd/lib/libserialize-25320100aa3d238d.so
-lib/rustlib/i686-unknown-openbsd/lib/libstable_deref_trait-4d835f1b4d9bcf55.rlib
-lib/rustlib/i686-unknown-openbsd/lib/libstd-2576a9dc58fd8156.rlib
-lib/rustlib/i686-unknown-openbsd/lib/libstd-2576a9dc58fd8156.so
-lib/rustlib/i686-unknown-openbsd/lib/libstd_unicode-cc54b91c75d2d0e8.rlib
-lib/rustlib/i686-unknown-openbsd/lib/libsyntax-c131f04b77a2392a.so
-lib/rustlib/i686-unknown-openbsd/lib/libsyntax_ext-76ce1510247657dd.so
-lib/rustlib/i686-unknown-openbsd/lib/libsyntax_pos-e9d5c176bc1b4a8b.so
-lib/rustlib/i686-unknown-openbsd/lib/libterm-a3b97158483ca6b8.rlib
-lib/rustlib/i686-unknown-openbsd/lib/libterm-a3b97158483ca6b8.so
-lib/rustlib/i686-unknown-openbsd/lib/libtest-b08cc98f0152dee9.rlib
-lib/rustlib/i686-unknown-openbsd/lib/libtest-b08cc98f0152dee9.so
-lib/rustlib/i686-unknown-openbsd/lib/libunicode_width-d1033f69affb7de6.rlib
-lib/rustlib/i686-unknown-openbsd/lib/libunwind-6e3d707c72563964.rlib
+lib/rustlib/i686-unknown-openbsd/lib/liballoc-8a1fba1d980f11cc.rlib
+lib/rustlib/i686-unknown-openbsd/lib/liballoc_jemalloc-d8aeed8a54cf0236.rlib
+lib/rustlib/i686-unknown-openbsd/lib/liballoc_system-feb171576ab2a6dc.rlib
+lib/rustlib/i686-unknown-openbsd/lib/libar-a36125667651ab9c.rlib
+lib/rustlib/i686-unknown-openbsd/lib/libarena-cd790d2fad7e4b70.so
+lib/rustlib/i686-unknown-openbsd/lib/libbacktrace-85567e77c9fd3388.rlib
+lib/rustlib/i686-unknown-openbsd/lib/libbacktrace_sys-be45ec432df33449.rlib
+lib/rustlib/i686-unknown-openbsd/lib/libbitflags-3b7c08e7fd3564ae.rlib
+lib/rustlib/i686-unknown-openbsd/lib/libbyteorder-d024b86a1e311b0a.rlib
+lib/rustlib/i686-unknown-openbsd/lib/libcfg_if-3743f06538586e49.rlib
+lib/rustlib/i686-unknown-openbsd/lib/libcompiler_builtins-8451aeef4232715d.rlib
+lib/rustlib/i686-unknown-openbsd/lib/libcore-c6d4ec7c98934c0a.rlib
+lib/rustlib/i686-unknown-openbsd/lib/libenv_logger-97d168394fd062fe.rlib
+lib/rustlib/i686-unknown-openbsd/lib/libflate2-0c2d4c63ff052284.rlib
+lib/rustlib/i686-unknown-openbsd/lib/libfmt_macros-6c7bd9b76c86141c.so
+lib/rustlib/i686-unknown-openbsd/lib/libgetopts-3cde24af96950f22.rlib
+lib/rustlib/i686-unknown-openbsd/lib/libgraphviz-c59eaa9edcd247e6.so
+lib/rustlib/i686-unknown-openbsd/lib/libjobserver-d90d9e40bee6c817.rlib
+lib/rustlib/i686-unknown-openbsd/lib/liblazy_static-dd809fff93191cb4.rlib
+lib/rustlib/i686-unknown-openbsd/lib/liblibc-4bf201fc4986a8e5.rlib
+lib/rustlib/i686-unknown-openbsd/lib/liblibc-7a4b487509928214.rlib
+lib/rustlib/i686-unknown-openbsd/lib/liblog-34c2bbc62195da6c.rlib
+lib/rustlib/i686-unknown-openbsd/lib/liblog-70a4501e9c396b0b.rlib
+lib/rustlib/i686-unknown-openbsd/lib/liblog_settings-1936335c89b0619a.rlib
+lib/rustlib/i686-unknown-openbsd/lib/libminiz_sys-4ebb674d23ea77af.rlib
+lib/rustlib/i686-unknown-openbsd/lib/libnum_cpus-30a0a214398d0be8.rlib
+lib/rustlib/i686-unknown-openbsd/lib/libowning_ref-08cbb3e434f0716d.rlib
+lib/rustlib/i686-unknown-openbsd/lib/libpanic_abort-93ec18bf90694f11.rlib
+lib/rustlib/i686-unknown-openbsd/lib/libpanic_unwind-ef8208c71ac69887.rlib
+lib/rustlib/i686-unknown-openbsd/lib/libparking_lot-ac66b03edd62e7c7.rlib
+lib/rustlib/i686-unknown-openbsd/lib/libparking_lot_core-7524b97e1e0b904f.rlib
+lib/rustlib/i686-unknown-openbsd/lib/libproc_macro-24c7c96d0acf31eb.so
+lib/rustlib/i686-unknown-openbsd/lib/librand-aa4a3c2b59a69619.rlib
+lib/rustlib/i686-unknown-openbsd/lib/librls_data-600b2544cfa14f49.rlib
+lib/rustlib/i686-unknown-openbsd/lib/librls_span-54e09ea3ff7913ab.rlib
+lib/rustlib/i686-unknown-openbsd/lib/librustc-dcd2e2cf9b69422c.so
+lib/rustlib/i686-unknown-openbsd/lib/librustc_allocator-a0663f0acd16a2fd.so
+lib/rustlib/i686-unknown-openbsd/lib/librustc_apfloat-ce085e9cc1c2fab1.rlib
+lib/rustlib/i686-unknown-openbsd/lib/librustc_back-9a8ef63994444e3d.so
+lib/rustlib/i686-unknown-openbsd/lib/librustc_binaryen-b4bfa08b03a9123a.rlib
+lib/rustlib/i686-unknown-openbsd/lib/librustc_borrowck-417790fd4468977e.so
+lib/rustlib/i686-unknown-openbsd/lib/librustc_const_eval-051ba987d0a8112f.so
+lib/rustlib/i686-unknown-openbsd/lib/librustc_const_math-eead2bddce1b0cb9.so
+lib/rustlib/i686-unknown-openbsd/lib/librustc_cratesio_shim-b69aaaacd422f776.so
+lib/rustlib/i686-unknown-openbsd/lib/librustc_data_structures-b953bffd73a7583f.so
+lib/rustlib/i686-unknown-openbsd/lib/librustc_demangle-47cd8eb682a588cc.rlib
+lib/rustlib/i686-unknown-openbsd/lib/librustc_driver-be95aea25f81a24d.so
+lib/rustlib/i686-unknown-openbsd/lib/librustc_errors-2453f00f3cb48124.so
+lib/rustlib/i686-unknown-openbsd/lib/librustc_incremental-fc79fce2e9c9b47c.so
+lib/rustlib/i686-unknown-openbsd/lib/librustc_lint-9dd8b62d07a7eaf7.so
+lib/rustlib/i686-unknown-openbsd/lib/librustc_llvm-48466902b8b04d81.so
+lib/rustlib/i686-unknown-openbsd/lib/librustc_metadata-14b12122929aa6d0.so
+lib/rustlib/i686-unknown-openbsd/lib/librustc_mir-3e0baca0f489bdd1.so
+lib/rustlib/i686-unknown-openbsd/lib/librustc_passes-2c3d761b0b5653b3.so
+lib/rustlib/i686-unknown-openbsd/lib/librustc_platform_intrinsics-cba63b4814587f03.so
+lib/rustlib/i686-unknown-openbsd/lib/librustc_plugin-3ffd3b8406872358.so
+lib/rustlib/i686-unknown-openbsd/lib/librustc_privacy-8c535223dea3f178.so
+lib/rustlib/i686-unknown-openbsd/lib/librustc_resolve-42847630612c854c.so
+lib/rustlib/i686-unknown-openbsd/lib/librustc_save_analysis-eb05f4decda58edf.so
+lib/rustlib/i686-unknown-openbsd/lib/librustc_serialize-7c20611da596f450.rlib
+lib/rustlib/i686-unknown-openbsd/lib/librustc_trans-5aa99e9997295f6c.so
+lib/rustlib/i686-unknown-openbsd/lib/librustc_trans_utils-dfddf48c5660cb25.so
+lib/rustlib/i686-unknown-openbsd/lib/librustc_typeck-c721d8ec2489e4cd.so
+lib/rustlib/i686-unknown-openbsd/lib/libserialize-f8b94a06fd7c9080.rlib
+lib/rustlib/i686-unknown-openbsd/lib/libserialize-f8b94a06fd7c9080.so
+lib/rustlib/i686-unknown-openbsd/lib/libsmallvec-bc58c6161660cedf.rlib
+lib/rustlib/i686-unknown-openbsd/lib/libstable_deref_trait-28219bd1e03beaa3.rlib
+lib/rustlib/i686-unknown-openbsd/lib/libstd-dca661497d12be83.rlib
+lib/rustlib/i686-unknown-openbsd/lib/libstd-dca661497d12be83.so
+lib/rustlib/i686-unknown-openbsd/lib/libstd_unicode-24f72f42fcf34178.rlib
+lib/rustlib/i686-unknown-openbsd/lib/libsyntax-34b928164c122010.so
+lib/rustlib/i686-unknown-openbsd/lib/libsyntax_ext-b4221fcf8be342d8.so
+lib/rustlib/i686-unknown-openbsd/lib/libsyntax_pos-f318d7fab4578a8d.so
+lib/rustlib/i686-unknown-openbsd/lib/libtempdir-c2092374aa7ff8a5.rlib
+lib/rustlib/i686-unknown-openbsd/lib/libterm-86dc5f2da5897df1.rlib
+lib/rustlib/i686-unknown-openbsd/lib/libterm-86dc5f2da5897df1.so
+lib/rustlib/i686-unknown-openbsd/lib/libtest-52b2e4267ba28aa1.rlib
+lib/rustlib/i686-unknown-openbsd/lib/libtest-52b2e4267ba28aa1.so
+lib/rustlib/i686-unknown-openbsd/lib/libunicode_width-dc732dad40d8a91c.rlib
+lib/rustlib/i686-unknown-openbsd/lib/libunwind-0ef73ecefaf9d5f7.rlib
Index: pkg/PLIST-doc
===================================================================
RCS file: /cvs/ports/lang/rust/pkg/PLIST-doc,v
retrieving revision 1.26
diff -u -p -r1.26 PLIST-doc
--- pkg/PLIST-doc 27 Jan 2018 09:22:00 -0000 1.26
+++ pkg/PLIST-doc 17 Feb 2018 12:13:40 -0000
@@ -224,6 +224,7 @@ share/doc/rust/html/alloc/heap/struct.He
 share/doc/rust/html/alloc/index.html
 share/doc/rust/html/alloc/linked_list/
 share/doc/rust/html/alloc/linked_list/BackPlace.t.html
+share/doc/rust/html/alloc/linked_list/DrainFilter.t.html
 share/doc/rust/html/alloc/linked_list/FrontPlace.t.html
 share/doc/rust/html/alloc/linked_list/IntoIter.t.html
 share/doc/rust/html/alloc/linked_list/Iter.t.html
@@ -232,6 +233,7 @@ share/doc/rust/html/alloc/linked_list/Li
 share/doc/rust/html/alloc/linked_list/index.html
 share/doc/rust/html/alloc/linked_list/sidebar-items.js
 share/doc/rust/html/alloc/linked_list/struct.BackPlace.html
+share/doc/rust/html/alloc/linked_list/struct.DrainFilter.html
 share/doc/rust/html/alloc/linked_list/struct.FrontPlace.html
 share/doc/rust/html/alloc/linked_list/struct.IntoIter.html
 share/doc/rust/html/alloc/linked_list/struct.Iter.html
@@ -562,7 +564,10 @@ share/doc/rust/html/book/second-edition/
 share/doc/rust/html/book/second-edition/appendix-00.html
 share/doc/rust/html/book/second-edition/appendix-01-keywords.html
 share/doc/rust/html/book/second-edition/appendix-02-operators.html
-share/doc/rust/html/book/second-edition/appendix-07-newest-features.html
+share/doc/rust/html/book/second-edition/appendix-03-derivable-traits.html
+share/doc/rust/html/book/second-edition/appendix-04-macros.html
+share/doc/rust/html/book/second-edition/appendix-05-translation.html
+share/doc/rust/html/book/second-edition/appendix-06-newest-features.html
 share/doc/rust/html/book/second-edition/ayu-highlight.css
 share/doc/rust/html/book/second-edition/book.css
 share/doc/rust/html/book/second-edition/book.js
@@ -1396,6 +1401,7 @@ share/doc/rust/html/core/intrinsics/fn.m
 share/doc/rust/html/core/intrinsics/fn.nearbyintf32.html
 share/doc/rust/html/core/intrinsics/fn.nearbyintf64.html
 share/doc/rust/html/core/intrinsics/fn.needs_drop.html
+share/doc/rust/html/core/intrinsics/fn.nontemporal_store.html
 share/doc/rust/html/core/intrinsics/fn.offset.html
 share/doc/rust/html/core/intrinsics/fn.overflowing_add.html
 share/doc/rust/html/core/intrinsics/fn.overflowing_mul.html
@@ -1458,6 +1464,7 @@ share/doc/rust/html/core/intrinsics/mul_
 share/doc/rust/html/core/intrinsics/nearbyintf32.v.html
 share/doc/rust/html/core/intrinsics/nearbyintf64.v.html
 share/doc/rust/html/core/intrinsics/needs_drop.v.html
+share/doc/rust/html/core/intrinsics/nontemporal_store.v.html
 share/doc/rust/html/core/intrinsics/offset.v.html
 share/doc/rust/html/core/intrinsics/overflowing_add.v.html
 share/doc/rust/html/core/intrinsics/overflowing_mul.v.html
@@ -2053,6 +2060,13 @@ share/doc/rust/html/core/slice/from_raw_
 share/doc/rust/html/core/slice/from_ref.v.html
 share/doc/rust/html/core/slice/from_ref_mut.v.html
 share/doc/rust/html/core/slice/index.html
+share/doc/rust/html/core/slice/memchr/
+share/doc/rust/html/core/slice/memchr/fn.memchr.html
+share/doc/rust/html/core/slice/memchr/fn.memrchr.html
+share/doc/rust/html/core/slice/memchr/index.html
+share/doc/rust/html/core/slice/memchr/memchr.v.html
+share/doc/rust/html/core/slice/memchr/memrchr.v.html
+share/doc/rust/html/core/slice/memchr/sidebar-items.js
 share/doc/rust/html/core/slice/sidebar-items.js
 share/doc/rust/html/core/slice/struct.Chunks.html
 share/doc/rust/html/core/slice/struct.ChunksMut.html
@@ -2184,10 +2198,10 @@ share/doc/rust/html/core/sync/atomic/enu
 share/doc/rust/html/core/sync/atomic/fence.v.html
 share/doc/rust/html/core/sync/atomic/fn.compiler_fence.html
 share/doc/rust/html/core/sync/atomic/fn.fence.html
-share/doc/rust/html/core/sync/atomic/fn.hint_core_should_pause.html
-share/doc/rust/html/core/sync/atomic/hint_core_should_pause.v.html
+share/doc/rust/html/core/sync/atomic/fn.spin_loop_hint.html
 share/doc/rust/html/core/sync/atomic/index.html
 share/doc/rust/html/core/sync/atomic/sidebar-items.js
+share/doc/rust/html/core/sync/atomic/spin_loop_hint.v.html
 share/doc/rust/html/core/sync/atomic/struct.AtomicBool.html
 share/doc/rust/html/core/sync/atomic/struct.AtomicI16.html
 share/doc/rust/html/core/sync/atomic/struct.AtomicI32.html
@@ -2604,6 +2618,7 @@ share/doc/rust/html/implementors/std/str
 share/doc/rust/html/implementors/std/str/trait.FromStr.js
 share/doc/rust/html/implementors/std/string/
 share/doc/rust/html/implementors/std/string/trait.ToString.js
+share/doc/rust/html/implementors/std/trait.Termination.js
 share/doc/rust/html/implementors/std_unicode/
 share/doc/rust/html/implementors/std_unicode/str/
 share/doc/rust/html/implementors/std_unicode/str/trait.UnicodeStr.js
@@ -2815,22 +2830,17 @@ share/doc/rust/html/reference/notation.h
 share/doc/rust/html/reference/paths.html
 share/doc/rust/html/reference/print.html
 share/doc/rust/html/reference/procedural-macros.html
-share/doc/rust/html/reference/special-traits.html
+share/doc/rust/html/reference/special-types-and-traits.html
 share/doc/rust/html/reference/statements-and-expressions.html
 share/doc/rust/html/reference/statements.html
 share/doc/rust/html/reference/store.js
 share/doc/rust/html/reference/subtyping.html
-share/doc/rust/html/reference/the-co${MODPY_PY_PREFIX}trait.html
-share/doc/rust/html/reference/the-deref-trait.html
-share/doc/rust/html/reference/the-drop-trait.html
-share/doc/rust/html/reference/the-send-trait.html
-share/doc/rust/html/reference/the-sized-trait.html
-share/doc/rust/html/reference/the-sync-trait.html
 share/doc/rust/html/reference/theme/
 share/doc/rust/html/reference/theme/book.css
 share/doc/rust/html/reference/tokens.html
 share/doc/rust/html/reference/tomorrow-night.css
 share/doc/rust/html/reference/type-coercions.html
+share/doc/rust/html/reference/type-layout.html
 share/doc/rust/html/reference/type-system.html
 share/doc/rust/html/reference/types.html
 share/doc/rust/html/reference/undocumented.html
@@ -2992,6 +3002,7 @@ share/doc/rust/html/src/core/ptr.rs.html
 share/doc/rust/html/src/core/raw.rs.html
 share/doc/rust/html/src/core/result.rs.html
 share/doc/rust/html/src/core/slice/
+share/doc/rust/html/src/core/slice/memchr.rs.html
 share/doc/rust/html/src/core/slice/mod.rs.html
 share/doc/rust/html/src/core/slice/rotate.rs.html
 share/doc/rust/html/src/core/slice/sort.rs.html
@@ -3141,16 +3152,17 @@ share/doc/rust/html/src/std/sys/windows/
 share/doc/rust/html/src/std/sys_common/
 share/doc/rust/html/src/std/sys_common/at_exit_imp.rs.html
 share/doc/rust/html/src/std/sys_common/backtrace.rs.html
+share/doc/rust/html/src/std/sys_common/bytestring.rs.html
 share/doc/rust/html/src/std/sys_common/condvar.rs.html
 share/doc/rust/html/src/std/sys_common/gnu/
 share/doc/rust/html/src/std/sys_common/gnu/libbacktrace.rs.html
 share/doc/rust/html/src/std/sys_common/gnu/mod.rs.html
 share/doc/rust/html/src/std/sys_common/io.rs.html
-share/doc/rust/html/src/std/sys_common/memchr.rs.html
 share/doc/rust/html/src/std/sys_common/mod.rs.html
 share/doc/rust/html/src/std/sys_common/mutex.rs.html
 share/doc/rust/html/src/std/sys_common/net.rs.html
 share/doc/rust/html/src/std/sys_common/poison.rs.html
+share/doc/rust/html/src/std/sys_common/process.rs.html
 share/doc/rust/html/src/std/sys_common/remutex.rs.html
 share/doc/rust/html/src/std/sys_common/rwlock.rs.html
 share/doc/rust/html/src/std/sys_common/thread.rs.html
@@ -3158,6 +3170,7 @@ share/doc/rust/html/src/std/sys_common/t
 share/doc/rust/html/src/std/sys_common/thread_local.rs.html
 share/doc/rust/html/src/std/sys_common/util.rs.html
 share/doc/rust/html/src/std/sys_common/wtf8.rs.html
+share/doc/rust/html/src/std/termination.rs.html
 share/doc/rust/html/src/std/thread/
 share/doc/rust/html/src/std/thread/local.rs.html
 share/doc/rust/html/src/std/thread/mod.rs.html
@@ -3171,6 +3184,7 @@ share/doc/rust/html/src/std_unicode/loss
 share/doc/rust/html/src/std_unicode/tables.rs.html
 share/doc/rust/html/src/std_unicode/u_str.rs.html
 share/doc/rust/html/std/
+share/doc/rust/html/std/Termination.t.html
 share/doc/rust/html/std/any/
 share/doc/rust/html/std/any/Any.t.html
 share/doc/rust/html/std/any/TypeId.t.html
@@ -3471,6 +3485,7 @@ share/doc/rust/html/std/collections/hash
 share/doc/rust/html/std/collections/index.html
 share/doc/rust/html/std/collections/linked_list/
 share/doc/rust/html/std/collections/linked_list/BackPlace.t.html
+share/doc/rust/html/std/collections/linked_list/DrainFilter.t.html
 share/doc/rust/html/std/collections/linked_list/FrontPlace.t.html
 share/doc/rust/html/std/collections/linked_list/IntoIter.t.html
 share/doc/rust/html/std/collections/linked_list/Iter.t.html
@@ -3479,6 +3494,7 @@ share/doc/rust/html/std/collections/link
 share/doc/rust/html/std/collections/linked_list/index.html
 share/doc/rust/html/std/collections/linked_list/sidebar-items.js
 share/doc/rust/html/std/collections/linked_list/struct.BackPlace.html
+share/doc/rust/html/std/collections/linked_list/struct.DrainFilter.html
 share/doc/rust/html/std/collections/linked_list/struct.FrontPlace.html
 share/doc/rust/html/std/collections/linked_list/struct.IntoIter.html
 share/doc/rust/html/std/collections/linked_list/struct.Iter.html
@@ -3852,8 +3868,10 @@ share/doc/rust/html/std/fs/fn.create_dir
 share/doc/rust/html/std/fs/fn.create_dir_all.html
 share/doc/rust/html/std/fs/fn.hard_link.html
 share/doc/rust/html/std/fs/fn.metadata.html
+share/doc/rust/html/std/fs/fn.read.html
 share/doc/rust/html/std/fs/fn.read_dir.html
 share/doc/rust/html/std/fs/fn.read_link.html
+share/doc/rust/html/std/fs/fn.read_string.html
 share/doc/rust/html/std/fs/fn.remove_dir.html
 share/doc/rust/html/std/fs/fn.remove_dir_all.html
 share/doc/rust/html/std/fs/fn.remove_file.html
@@ -3861,11 +3879,14 @@ share/doc/rust/html/std/fs/fn.rename.htm
 share/doc/rust/html/std/fs/fn.set_permissions.html
 share/doc/rust/html/std/fs/fn.soft_link.html
 share/doc/rust/html/std/fs/fn.symlink_metadata.html
+share/doc/rust/html/std/fs/fn.write.html
 share/doc/rust/html/std/fs/hard_link.v.html
 share/doc/rust/html/std/fs/index.html
 share/doc/rust/html/std/fs/metadata.v.html
+share/doc/rust/html/std/fs/read.v.html
 share/doc/rust/html/std/fs/read_dir.v.html
 share/doc/rust/html/std/fs/read_link.v.html
+share/doc/rust/html/std/fs/read_string.v.html
 share/doc/rust/html/std/fs/remove_dir.v.html
 share/doc/rust/html/std/fs/remove_dir_all.v.html
 share/doc/rust/html/std/fs/remove_file.v.html
@@ -3882,6 +3903,7 @@ share/doc/rust/html/std/fs/struct.OpenOp
 share/doc/rust/html/std/fs/struct.Permissions.html
 share/doc/rust/html/std/fs/struct.ReadDir.html
 share/doc/rust/html/std/fs/symlink_metadata.v.html
+share/doc/rust/html/std/fs/write.v.html
 share/doc/rust/html/std/hash/
 share/doc/rust/html/std/hash/BuildHasher.t.html
 share/doc/rust/html/std/hash/BuildHasherDefault.t.html
@@ -4226,6 +4248,7 @@ share/doc/rust/html/std/intrinsics/fn.mu
 share/doc/rust/html/std/intrinsics/fn.nearbyintf32.html
 share/doc/rust/html/std/intrinsics/fn.nearbyintf64.html
 share/doc/rust/html/std/intrinsics/fn.needs_drop.html
+share/doc/rust/html/std/intrinsics/fn.nontemporal_store.html
 share/doc/rust/html/std/intrinsics/fn.offset.html
 share/doc/rust/html/std/intrinsics/fn.overflowing_add.html
 share/doc/rust/html/std/intrinsics/fn.overflowing_mul.html
@@ -4288,6 +4311,7 @@ share/doc/rust/html/std/intrinsics/mul_w
 share/doc/rust/html/std/intrinsics/nearbyintf32.v.html
 share/doc/rust/html/std/intrinsics/nearbyintf64.v.html
 share/doc/rust/html/std/intrinsics/needs_drop.v.html
+share/doc/rust/html/std/intrinsics/nontemporal_store.v.html
 share/doc/rust/html/std/intrinsics/offset.v.html
 share/doc/rust/html/std/intrinsics/overflowing_add.v.html
 share/doc/rust/html/std/intrinsics/overflowing_mul.v.html
@@ -4743,6 +4767,7 @@ share/doc/rust/html/std/net/trait.ToSock
 share/doc/rust/html/std/net/udp/
 share/doc/rust/html/std/net/udp/UdpSocket.t.html
 share/doc/rust/html/std/net/udp/struct.UdpSocket.html
+share/doc/rust/html/std/never.t.html
 share/doc/rust/html/std/num/
 share/doc/rust/html/std/num/FpCategory.t.html
 share/doc/rust/html/std/num/ParseFloatError.t.html
@@ -5001,7 +5026,9 @@ share/doc/rust/html/std/os/unix/prelude/
 share/doc/rust/html/std/os/unix/process/
 share/doc/rust/html/std/os/unix/process/CommandExt.t.html
 share/doc/rust/html/std/os/unix/process/ExitStatusExt.t.html
+share/doc/rust/html/std/os/unix/process/fn.parent_id.html
 share/doc/rust/html/std/os/unix/process/index.html
+share/doc/rust/html/std/os/unix/process/parent_id.v.html
 share/doc/rust/html/std/os/unix/process/sidebar-items.js
 share/doc/rust/html/std/os/unix/process/trait.CommandExt.html
 share/doc/rust/html/std/os/unix/process/trait.ExitStatusExt.html
@@ -5191,6 +5218,8 @@ share/doc/rust/html/std/prim_i8/
 share/doc/rust/html/std/prim_i8/index.html
 share/doc/rust/html/std/prim_isize/
 share/doc/rust/html/std/prim_isize/index.html
+share/doc/rust/html/std/prim_never/
+share/doc/rust/html/std/prim_never/index.html
 share/doc/rust/html/std/prim_pointer/
 share/doc/rust/html/std/prim_pointer/index.html
 share/doc/rust/html/std/prim_ref/
@@ -5227,6 +5256,7 @@ share/doc/rust/html/std/primitive.i32.ht
 share/doc/rust/html/std/primitive.i64.html
 share/doc/rust/html/std/primitive.i8.html
 share/doc/rust/html/std/primitive.isize.html
+share/doc/rust/html/std/primitive.never.html
 share/doc/rust/html/std/primitive.pointer.html
 share/doc/rust/html/std/primitive.reference.html
 share/doc/rust/html/std/primitive.slice.html
@@ -5524,10 +5554,10 @@ share/doc/rust/html/std/sync/atomic/enum
 share/doc/rust/html/std/sync/atomic/fence.v.html
 share/doc/rust/html/std/sync/atomic/fn.compiler_fence.html
 share/doc/rust/html/std/sync/atomic/fn.fence.html
-share/doc/rust/html/std/sync/atomic/fn.hint_core_should_pause.html
-share/doc/rust/html/std/sync/atomic/hint_core_should_pause.v.html
+share/doc/rust/html/std/sync/atomic/fn.spin_loop_hint.html
 share/doc/rust/html/std/sync/atomic/index.html
 share/doc/rust/html/std/sync/atomic/sidebar-items.js
+share/doc/rust/html/std/sync/atomic/spin_loop_hint.v.html
 share/doc/rust/html/std/sync/atomic/struct.AtomicBool.html
 share/doc/rust/html/std/sync/atomic/struct.AtomicI16.html
 share/doc/rust/html/std/sync/atomic/struct.AtomicI32.html
@@ -5628,77 +5658,79 @@ share/doc/rust/html/std/sync/struct.Weak
 share/doc/rust/html/std/sync/type.LockResult.html
 share/doc/rust/html/std/sync/type.TryLockResult.html
 share/doc/rust/html/std/sys/
-share/doc/rust/html/std/sys/imp/
-share/doc/rust/html/std/sys/imp/ext/
-share/doc/rust/html/std/sys/imp/ext/ffi/
-share/doc/rust/html/std/sys/imp/ext/ffi/OsStrExt.t.html
-share/doc/rust/html/std/sys/imp/ext/ffi/OsStringExt.t.html
-share/doc/rust/html/std/sys/imp/ext/ffi/index.html
-share/doc/rust/html/std/sys/imp/ext/ffi/trait.OsStrExt.html
-share/doc/rust/html/std/sys/imp/ext/ffi/trait.OsStringExt.html
-share/doc/rust/html/std/sys/imp/ext/fs/
-share/doc/rust/html/std/sys/imp/ext/fs/DirBuilderExt.t.html
-share/doc/rust/html/std/sys/imp/ext/fs/DirEntryExt.t.html
-share/doc/rust/html/std/sys/imp/ext/fs/FileExt.t.html
-share/doc/rust/html/std/sys/imp/ext/fs/FileTypeExt.t.html
-share/doc/rust/html/std/sys/imp/ext/fs/MetadataExt.t.html
-share/doc/rust/html/std/sys/imp/ext/fs/OpenOptionsExt.t.html
-share/doc/rust/html/std/sys/imp/ext/fs/PermissionsExt.t.html
-share/doc/rust/html/std/sys/imp/ext/fs/fn.symlink.html
-share/doc/rust/html/std/sys/imp/ext/fs/index.html
-share/doc/rust/html/std/sys/imp/ext/fs/symlink.v.html
-share/doc/rust/html/std/sys/imp/ext/fs/trait.DirBuilderExt.html
-share/doc/rust/html/std/sys/imp/ext/fs/trait.DirEntryExt.html
-share/doc/rust/html/std/sys/imp/ext/fs/trait.FileExt.html
-share/doc/rust/html/std/sys/imp/ext/fs/trait.FileTypeExt.html
-share/doc/rust/html/std/sys/imp/ext/fs/trait.MetadataExt.html
-share/doc/rust/html/std/sys/imp/ext/fs/trait.OpenOptionsExt.html
-share/doc/rust/html/std/sys/imp/ext/fs/trait.PermissionsExt.html
-share/doc/rust/html/std/sys/imp/ext/index.html
-share/doc/rust/html/std/sys/imp/ext/io/
-share/doc/rust/html/std/sys/imp/ext/io/AsRawFd.t.html
-share/doc/rust/html/std/sys/imp/ext/io/FromRawFd.t.html
-share/doc/rust/html/std/sys/imp/ext/io/IntoRawFd.t.html
-share/doc/rust/html/std/sys/imp/ext/io/RawFd.t.html
-share/doc/rust/html/std/sys/imp/ext/io/index.html
-share/doc/rust/html/std/sys/imp/ext/io/trait.AsRawFd.html
-share/doc/rust/html/std/sys/imp/ext/io/trait.FromRawFd.html
-share/doc/rust/html/std/sys/imp/ext/io/trait.IntoRawFd.html
-share/doc/rust/html/std/sys/imp/ext/io/type.RawFd.html
-share/doc/rust/html/std/sys/imp/ext/net/
-share/doc/rust/html/std/sys/imp/ext/net/Incoming.t.html
-share/doc/rust/html/std/sys/imp/ext/net/SocketAddr.t.html
-share/doc/rust/html/std/sys/imp/ext/net/UnixDatagram.t.html
-share/doc/rust/html/std/sys/imp/ext/net/UnixListener.t.html
-share/doc/rust/html/std/sys/imp/ext/net/UnixStream.t.html
-share/doc/rust/html/std/sys/imp/ext/net/index.html
-share/doc/rust/html/std/sys/imp/ext/net/struct.Incoming.html
-share/doc/rust/html/std/sys/imp/ext/net/struct.SocketAddr.html
-share/doc/rust/html/std/sys/imp/ext/net/struct.UnixDatagram.html
-share/doc/rust/html/std/sys/imp/ext/net/struct.UnixListener.html
-share/doc/rust/html/std/sys/imp/ext/net/struct.UnixStream.html
-share/doc/rust/html/std/sys/imp/ext/prelude/
-share/doc/rust/html/std/sys/imp/ext/prelude/index.html
-share/doc/rust/html/std/sys/imp/ext/process/
-share/doc/rust/html/std/sys/imp/ext/process/CommandExt.t.html
-share/doc/rust/html/std/sys/imp/ext/process/ExitStatusExt.t.html
-share/doc/rust/html/std/sys/imp/ext/process/index.html
-share/doc/rust/html/std/sys/imp/ext/process/trait.CommandExt.html
-share/doc/rust/html/std/sys/imp/ext/process/trait.ExitStatusExt.html
-share/doc/rust/html/std/sys/imp/ext/raw/
-share/doc/rust/html/std/sys/imp/ext/raw/gid_t.t.html
-share/doc/rust/html/std/sys/imp/ext/raw/index.html
-share/doc/rust/html/std/sys/imp/ext/raw/pid_t.t.html
-share/doc/rust/html/std/sys/imp/ext/raw/type.gid_t.html
-share/doc/rust/html/std/sys/imp/ext/raw/type.pid_t.html
-share/doc/rust/html/std/sys/imp/ext/raw/type.uid_t.html
-share/doc/rust/html/std/sys/imp/ext/raw/uid_t.t.html
-share/doc/rust/html/std/sys/imp/ext/thread/
-share/doc/rust/html/std/sys/imp/ext/thread/JoinHandleExt.t.html
-share/doc/rust/html/std/sys/imp/ext/thread/RawPthread.t.html
-share/doc/rust/html/std/sys/imp/ext/thread/index.html
-share/doc/rust/html/std/sys/imp/ext/thread/trait.JoinHandleExt.html
-share/doc/rust/html/std/sys/imp/ext/thread/type.RawPthread.html
+share/doc/rust/html/std/sys/unix/
+share/doc/rust/html/std/sys/unix/ext/
+share/doc/rust/html/std/sys/unix/ext/ffi/
+share/doc/rust/html/std/sys/unix/ext/ffi/OsStrExt.t.html
+share/doc/rust/html/std/sys/unix/ext/ffi/OsStringExt.t.html
+share/doc/rust/html/std/sys/unix/ext/ffi/index.html
+share/doc/rust/html/std/sys/unix/ext/ffi/trait.OsStrExt.html
+share/doc/rust/html/std/sys/unix/ext/ffi/trait.OsStringExt.html
+share/doc/rust/html/std/sys/unix/ext/fs/
+share/doc/rust/html/std/sys/unix/ext/fs/DirBuilderExt.t.html
+share/doc/rust/html/std/sys/unix/ext/fs/DirEntryExt.t.html
+share/doc/rust/html/std/sys/unix/ext/fs/FileExt.t.html
+share/doc/rust/html/std/sys/unix/ext/fs/FileTypeExt.t.html
+share/doc/rust/html/std/sys/unix/ext/fs/MetadataExt.t.html
+share/doc/rust/html/std/sys/unix/ext/fs/OpenOptionsExt.t.html
+share/doc/rust/html/std/sys/unix/ext/fs/PermissionsExt.t.html
+share/doc/rust/html/std/sys/unix/ext/fs/fn.symlink.html
+share/doc/rust/html/std/sys/unix/ext/fs/index.html
+share/doc/rust/html/std/sys/unix/ext/fs/symlink.v.html
+share/doc/rust/html/std/sys/unix/ext/fs/trait.DirBuilderExt.html
+share/doc/rust/html/std/sys/unix/ext/fs/trait.DirEntryExt.html
+share/doc/rust/html/std/sys/unix/ext/fs/trait.FileExt.html
+share/doc/rust/html/std/sys/unix/ext/fs/trait.FileTypeExt.html
+share/doc/rust/html/std/sys/unix/ext/fs/trait.MetadataExt.html
+share/doc/rust/html/std/sys/unix/ext/fs/trait.OpenOptionsExt.html
+share/doc/rust/html/std/sys/unix/ext/fs/trait.PermissionsExt.html
+share/doc/rust/html/std/sys/unix/ext/index.html
+share/doc/rust/html/std/sys/unix/ext/io/
+share/doc/rust/html/std/sys/unix/ext/io/AsRawFd.t.html
+share/doc/rust/html/std/sys/unix/ext/io/FromRawFd.t.html
+share/doc/rust/html/std/sys/unix/ext/io/IntoRawFd.t.html
+share/doc/rust/html/std/sys/unix/ext/io/RawFd.t.html
+share/doc/rust/html/std/sys/unix/ext/io/index.html
+share/doc/rust/html/std/sys/unix/ext/io/trait.AsRawFd.html
+share/doc/rust/html/std/sys/unix/ext/io/trait.FromRawFd.html
+share/doc/rust/html/std/sys/unix/ext/io/trait.IntoRawFd.html
+share/doc/rust/html/std/sys/unix/ext/io/type.RawFd.html
+share/doc/rust/html/std/sys/unix/ext/net/
+share/doc/rust/html/std/sys/unix/ext/net/Incoming.t.html
+share/doc/rust/html/std/sys/unix/ext/net/SocketAddr.t.html
+share/doc/rust/html/std/sys/unix/ext/net/UnixDatagram.t.html
+share/doc/rust/html/std/sys/unix/ext/net/UnixListener.t.html
+share/doc/rust/html/std/sys/unix/ext/net/UnixStream.t.html
+share/doc/rust/html/std/sys/unix/ext/net/index.html
+share/doc/rust/html/std/sys/unix/ext/net/struct.Incoming.html
+share/doc/rust/html/std/sys/unix/ext/net/struct.SocketAddr.html
+share/doc/rust/html/std/sys/unix/ext/net/struct.UnixDatagram.html
+share/doc/rust/html/std/sys/unix/ext/net/struct.UnixListener.html
+share/doc/rust/html/std/sys/unix/ext/net/struct.UnixStream.html
+share/doc/rust/html/std/sys/unix/ext/prelude/
+share/doc/rust/html/std/sys/unix/ext/prelude/index.html
+share/doc/rust/html/std/sys/unix/ext/process/
+share/doc/rust/html/std/sys/unix/ext/process/CommandExt.t.html
+share/doc/rust/html/std/sys/unix/ext/process/ExitStatusExt.t.html
+share/doc/rust/html/std/sys/unix/ext/process/fn.parent_id.html
+share/doc/rust/html/std/sys/unix/ext/process/index.html
+share/doc/rust/html/std/sys/unix/ext/process/parent_id.v.html
+share/doc/rust/html/std/sys/unix/ext/process/trait.CommandExt.html
+share/doc/rust/html/std/sys/unix/ext/process/trait.ExitStatusExt.html
+share/doc/rust/html/std/sys/unix/ext/raw/
+share/doc/rust/html/std/sys/unix/ext/raw/gid_t.t.html
+share/doc/rust/html/std/sys/unix/ext/raw/index.html
+share/doc/rust/html/std/sys/unix/ext/raw/pid_t.t.html
+share/doc/rust/html/std/sys/unix/ext/raw/type.gid_t.html
+share/doc/rust/html/std/sys/unix/ext/raw/type.pid_t.html
+share/doc/rust/html/std/sys/unix/ext/raw/type.uid_t.html
+share/doc/rust/html/std/sys/unix/ext/raw/uid_t.t.html
+share/doc/rust/html/std/sys/unix/ext/thread/
+share/doc/rust/html/std/sys/unix/ext/thread/JoinHandleExt.t.html
+share/doc/rust/html/std/sys/unix/ext/thread/RawPthread.t.html
+share/doc/rust/html/std/sys/unix/ext/thread/index.html
+share/doc/rust/html/std/sys/unix/ext/thread/trait.JoinHandleExt.html
+share/doc/rust/html/std/sys/unix/ext/thread/type.RawPthread.html
 share/doc/rust/html/std/sys/windows_ext/
 share/doc/rust/html/std/sys/windows_ext/ffi/
 share/doc/rust/html/std/sys/windows_ext/ffi/OsStrExt.t.html
@@ -5766,6 +5798,9 @@ share/doc/rust/html/std/sys_common/poiso
 share/doc/rust/html/std/sys_common/wtf8/
 share/doc/rust/html/std/sys_common/wtf8/EncodeWide.t.html
 share/doc/rust/html/std/sys_common/wtf8/struct.EncodeWide.html
+share/doc/rust/html/std/termination/
+share/doc/rust/html/std/termination/Termination.t.html
+share/doc/rust/html/std/termination/trait.Termination.html
 share/doc/rust/html/std/thread/
 share/doc/rust/html/std/thread/AccessError.t.html
 share/doc/rust/html/std/thread/Builder.t.html
@@ -5827,6 +5862,7 @@ share/doc/rust/html/std/time/struct.Dura
 share/doc/rust/html/std/time/struct.Instant.html
 share/doc/rust/html/std/time/struct.SystemTime.html
 share/doc/rust/html/std/time/struct.SystemTimeError.html
+share/doc/rust/html/std/trait.Termination.html
 share/doc/rust/html/std/try.m.html
 share/doc/rust/html/std/tuple.t.html
 share/doc/rust/html/std/u128/
@@ -6022,7 +6058,6 @@ share/doc/rust/html/unstable-book/langua
 share/doc/rust/html/unstable-book/language-features.html
 share/doc/rust/html/unstable-book/language-features/abi-msp430-interrupt.html
 share/doc/rust/html/unstable-book/language-features/abi-ptx.html
-share/doc/rust/html/unstable-book/language-features/abi-sysv64.html
 share/doc/rust/html/unstable-book/language-features/abi-thiscall.html
 share/doc/rust/html/unstable-book/language-features/abi-unadjusted.html
 share/doc/rust/html/unstable-book/language-features/abi-vectorcall.html
@@ -6050,6 +6085,7 @@ share/doc/rust/html/unstable-book/langua
 share/doc/rust/html/unstable-book/language-features/const-fn.html
 share/doc/rust/html/unstable-book/language-features/const-indexing.html
 share/doc/rust/html/unstable-book/language-features/co${MODPY_PY_PREFIX}closures.html
+share/doc/rust/html/unstable-book/language-features/crate-in-paths.html
 share/doc/rust/html/unstable-book/language-features/crate-visibility-modifier.html
 share/doc/rust/html/unstable-book/language-features/custom-attribute.html
 share/doc/rust/html/unstable-book/language-features/custom-derive.html
@@ -6057,19 +6093,24 @@ share/doc/rust/html/unstable-book/langua
 share/doc/rust/html/unstable-book/language-features/default-type-parameter-fallback.html
 share/doc/rust/html/unstable-book/language-features/doc-cfg.html
 share/doc/rust/html/unstable-book/language-features/doc-masked.html
+share/doc/rust/html/unstable-book/language-features/doc-spotlight.html
 share/doc/rust/html/unstable-book/language-features/dotdoteq-in-patterns.html
 share/doc/rust/html/unstable-book/language-features/dropck-eyepatch.html
 share/doc/rust/html/unstable-book/language-features/dropck-parametricity.html
 share/doc/rust/html/unstable-book/language-features/dyn-trait.html
 share/doc/rust/html/unstable-book/language-features/exclusive-range-pattern.html
+share/doc/rust/html/unstable-book/language-features/extern-absolute-paths.html
 share/doc/rust/html/unstable-book/language-features/extern-types.html
+share/doc/rust/html/unstable-book/language-features/external-doc.html
 share/doc/rust/html/unstable-book/language-features/fn-must-use.html
 share/doc/rust/html/unstable-book/language-features/fundamental.html
 share/doc/rust/html/unstable-book/language-features/generators.html
+share/doc/rust/html/unstable-book/language-features/generic-associated-types.html
 share/doc/rust/html/unstable-book/language-features/generic-param-attrs.html
 share/doc/rust/html/unstable-book/language-features/global-allocator.html
 share/doc/rust/html/unstable-book/language-features/global-asm.html
 share/doc/rust/html/unstable-book/language-features/i128-type.html
+share/doc/rust/html/unstable-book/language-features/in-band-lifetimes.html
 share/doc/rust/html/unstable-book/language-features/inclusive-range-syntax.html
 share/doc/rust/html/unstable-book/language-features/intrinsics.html
 share/doc/rust/html/unstable-book/language-features/lang-items.html
@@ -6078,6 +6119,7 @@ share/doc/rust/html/unstable-book/langua
 share/doc/rust/html/unstable-book/language-features/link-llvm-intrinsics.html
 share/doc/rust/html/unstable-book/language-features/linkage.html
 share/doc/rust/html/unstable-book/language-features/log-syntax.html
+share/doc/rust/html/unstable-book/language-features/macro-lifetime-matcher.html
 share/doc/rust/html/unstable-book/language-features/macro-reexport.html
 share/doc/rust/html/unstable-book/language-features/macro-vis-matcher.html
 share/doc/rust/html/unstable-book/language-features/main.html
@@ -6086,11 +6128,14 @@ share/doc/rust/html/unstable-book/langua
 share/doc/rust/html/unstable-book/language-features/naked-functions.html
 share/doc/rust/html/unstable-book/language-features/needs-allocator.html
 share/doc/rust/html/unstable-book/language-features/needs-panic-runtime.html
+share/doc/rust/html/unstable-book/language-features/nested-impl-trait.html
 share/doc/rust/html/unstable-book/language-features/never-type.html
+share/doc/rust/html/unstable-book/language-features/nll.html
 share/doc/rust/html/unstable-book/language-features/no-core.html
 share/doc/rust/html/unstable-book/language-features/no-debug.html
 share/doc/rust/html/unstable-book/language-features/non-ascii-idents.html
 share/doc/rust/html/unstable-book/language-features/non-exhaustive.html
+share/doc/rust/html/unstable-book/language-features/non-modrs-mods.html
 share/doc/rust/html/unstable-book/language-features/omit-gdb-pretty-printer-section.html
 share/doc/rust/html/unstable-book/language-features/on-unimplemented.html
 share/doc/rust/html/unstable-book/language-features/optin-builtin-traits.html
@@ -6121,8 +6166,10 @@ share/doc/rust/html/unstable-book/langua
 share/doc/rust/html/unstable-book/language-features/stmt-expr-attributes.html
 share/doc/rust/html/unstable-book/language-features/structural-match.html
 share/doc/rust/html/unstable-book/language-features/target-feature.html
+share/doc/rust/html/unstable-book/language-features/termination-trait.html
 share/doc/rust/html/unstable-book/language-features/thread-local.html
 share/doc/rust/html/unstable-book/language-features/trace-macros.html
+share/doc/rust/html/unstable-book/language-features/trait-alias.html
 share/doc/rust/html/unstable-book/language-features/type-ascription.html
 share/doc/rust/html/unstable-book/language-features/unboxed-closures.html
 share/doc/rust/html/unstable-book/language-features/underscore-lifetimes.html
@@ -6131,6 +6178,7 @@ share/doc/rust/html/unstable-book/langua
 share/doc/rust/html/unstable-book/language-features/untagged-unions.html
 share/doc/rust/html/unstable-book/language-features/unwind-attributes.html
 share/doc/rust/html/unstable-book/language-features/use-extern-macros.html
+share/doc/rust/html/unstable-book/language-features/use-nested-groups.html
 share/doc/rust/html/unstable-book/language-features/used.html
 share/doc/rust/html/unstable-book/language-features/wasm-import-memory.html
 share/doc/rust/html/unstable-book/library-features/
@@ -6143,6 +6191,7 @@ share/doc/rust/html/unstable-book/librar
 share/doc/rust/html/unstable-book/library-features/array-error-internals.html
 share/doc/rust/html/unstable-book/library-features/ascii-ctype.html
 share/doc/rust/html/unstable-book/library-features/box-heap.html
+share/doc/rust/html/unstable-book/library-features/box-leak.html
 share/doc/rust/html/unstable-book/library-features/bufreader-is-empty.html
 share/doc/rust/html/unstable-book/library-features/c-void-variant.html
 share/doc/rust/html/unstable-book/library-features/char-error-internals.html
@@ -6151,31 +6200,6 @@ share/doc/rust/html/unstable-book/librar
 share/doc/rust/html/unstable-book/library-features/collections-range.html
 share/doc/rust/html/unstable-book/library-features/compiler-builtins-lib.html
 share/doc/rust/html/unstable-book/library-features/concat-idents-macro.html
-share/doc/rust/html/unstable-book/library-features/const-align-of.html
-share/doc/rust/html/unstable-book/library-features/const-atomic-bool-new.html
-share/doc/rust/html/unstable-book/library-features/const-atomic-i16-new.html
-share/doc/rust/html/unstable-book/library-features/const-atomic-i32-new.html
-share/doc/rust/html/unstable-book/library-features/const-atomic-i64-new.html
-share/doc/rust/html/unstable-book/library-features/const-atomic-i8-new.html
-share/doc/rust/html/unstable-book/library-features/const-atomic-isize-new.html
-share/doc/rust/html/unstable-book/library-features/const-atomic-ptr-new.html
-share/doc/rust/html/unstable-book/library-features/const-atomic-u16-new.html
-share/doc/rust/html/unstable-book/library-features/const-atomic-u32-new.html
-share/doc/rust/html/unstable-book/library-features/const-atomic-u64-new.html
-share/doc/rust/html/unstable-book/library-features/const-atomic-u8-new.html
-share/doc/rust/html/unstable-book/library-features/const-atomic-usize-new.html
-share/doc/rust/html/unstable-book/library-features/const-cell-new.html
-share/doc/rust/html/unstable-book/library-features/const-max-value.html
-share/doc/rust/html/unstable-book/library-features/const-min-value.html
-share/doc/rust/html/unstable-book/library-features/const-nonzero-new.html
-share/doc/rust/html/unstable-book/library-features/const-once-new.html
-share/doc/rust/html/unstable-book/library-features/const-ptr-null-mut.html
-share/doc/rust/html/unstable-book/library-features/const-ptr-null.html
-share/doc/rust/html/unstable-book/library-features/const-refcell-new.html
-share/doc/rust/html/unstable-book/library-features/const-shared-new.html
-share/doc/rust/html/unstable-book/library-features/const-size-of.html
-share/doc/rust/html/unstable-book/library-features/const-unique-new.html
-share/doc/rust/html/unstable-book/library-features/const-unsafe-cell-new.html
 share/doc/rust/html/unstable-book/library-features/core-char-ext.html
 share/doc/rust/html/unstable-book/library-features/core-float.html
 share/doc/rust/html/unstable-book/library-features/core-intrinsics.html
@@ -6184,11 +6208,13 @@ share/doc/rust/html/unstable-book/librar
 share/doc/rust/html/unstable-book/library-features/core-private-diy-float.html
 share/doc/rust/html/unstable-book/library-features/core-slice-ext.html
 share/doc/rust/html/unstable-book/library-features/core-str-ext.html
+share/doc/rust/html/unstable-book/library-features/deadline-api.html
 share/doc/rust/html/unstable-book/library-features/dec2flt.html
 share/doc/rust/html/unstable-book/library-features/decode-utf8.html
 share/doc/rust/html/unstable-book/library-features/derive-clone-copy.html
 share/doc/rust/html/unstable-book/library-features/derive-eq.html
 share/doc/rust/html/unstable-book/library-features/drain-filter.html
+share/doc/rust/html/unstable-book/library-features/duration-extras.html
 share/doc/rust/html/unstable-book/library-features/duration-from-micros.html
 share/doc/rust/html/unstable-book/library-features/entry-and-modify.html
 share/doc/rust/html/unstable-book/library-features/entry-or-default.html
@@ -6204,13 +6230,13 @@ share/doc/rust/html/unstable-book/librar
 share/doc/rust/html/unstable-book/library-features/fnbox.html
 share/doc/rust/html/unstable-book/library-features/from-ref.html
 share/doc/rust/html/unstable-book/library-features/from-utf8-error-as-bytes.html
+share/doc/rust/html/unstable-book/library-features/fs-read-write.html
 share/doc/rust/html/unstable-book/library-features/fused.html
 share/doc/rust/html/unstable-book/library-features/future-atomic-orderings.html
 share/doc/rust/html/unstable-book/library-features/generator-trait.html
 share/doc/rust/html/unstable-book/library-features/get-type-id.html
 share/doc/rust/html/unstable-book/library-features/getpid.html
 share/doc/rust/html/unstable-book/library-features/heap-api.html
-share/doc/rust/html/unstable-book/library-features/hint-core-should-pause.html
 share/doc/rust/html/unstable-book/library-features/i128.html
 share/doc/rust/html/unstable-book/library-features/inclusive-range.html
 share/doc/rust/html/unstable-book/library-features/int-error-internals.html
@@ -6231,7 +6257,7 @@ share/doc/rust/html/unstable-book/librar
 share/doc/rust/html/unstable-book/library-features/map-entry-replace.html
 share/doc/rust/html/unstable-book/library-features/mpsc-select.html
 share/doc/rust/html/unstable-book/library-features/n16.html
-share/doc/rust/html/unstable-book/library-features/never-type-impls.html
+share/doc/rust/html/unstable-book/library-features/never-type.html
 share/doc/rust/html/unstable-book/library-features/nonzero.html
 share/doc/rust/html/unstable-book/library-features/offset-to.html
 share/doc/rust/html/unstable-book/library-features/once-poison.html
@@ -6247,6 +6273,7 @@ share/doc/rust/html/unstable-book/librar
 share/doc/rust/html/unstable-book/library-features/print-internals.html
 share/doc/rust/html/unstable-book/library-features/proc-macro-internals.html
 share/doc/rust/html/unstable-book/library-features/proc-macro.html
+share/doc/rust/html/unstable-book/library-features/process-internals.html
 share/doc/rust/html/unstable-book/library-features/profiler-runtime-lib.html
 share/doc/rust/html/unstable-book/library-features/range-contains.html
 share/doc/rust/html/unstable-book/library-features/raw.html
@@ -6261,10 +6288,12 @@ share/doc/rust/html/unstable-book/librar
 share/doc/rust/html/unstable-book/library-features/sip-hash-13.html
 share/doc/rust/html/unstable-book/library-features/slice-concat-ext.html
 share/doc/rust/html/unstable-book/library-features/slice-get-slice.html
+share/doc/rust/html/unstable-book/library-features/slice-internals.html
 share/doc/rust/html/unstable-book/library-features/slice-rotate.html
 share/doc/rust/html/unstable-book/library-features/slice-rsplit.html
 share/doc/rust/html/unstable-book/library-features/sort-internals.html
 share/doc/rust/html/unstable-book/library-features/splice.html
+share/doc/rust/html/unstable-book/library-features/std-internals.html
 share/doc/rust/html/unstable-book/library-features/step-trait.html
 share/doc/rust/html/unstable-book/library-features/str-escape.html
 share/doc/rust/html/unstable-book/library-features/str-internals.html
@@ -6272,6 +6301,7 @@ share/doc/rust/html/unstable-book/librar
 share/doc/rust/html/unstable-book/library-features/swap-nonoverlapping.html
 share/doc/rust/html/unstable-book/library-features/swap-with-slice.html
 share/doc/rust/html/unstable-book/library-features/take-set-limit.html
+share/doc/rust/html/unstable-book/library-features/termination-trait.html
 share/doc/rust/html/unstable-book/library-features/test.html
 share/doc/rust/html/unstable-book/library-features/thread-local-internals.html
 share/doc/rust/html/unstable-book/library-features/thread-local-state.html
@@ -6281,6 +6311,7 @@ share/doc/rust/html/unstable-book/librar
 share/doc/rust/html/unstable-book/library-features/try-trait.html
 share/doc/rust/html/unstable-book/library-features/unicode.html
 share/doc/rust/html/unstable-book/library-features/unique.html
+share/doc/rust/html/unstable-book/library-features/unix-ppid.html
 share/doc/rust/html/unstable-book/library-features/unreachable.html
 share/doc/rust/html/unstable-book/library-features/unsize.html
 share/doc/rust/html/unstable-book/library-features/update-panic-count.html

Reply | Threaded
Open this post in threaded view
|

Re: update: lang/rust 1.24

Laurence Tratt
On Sat, Feb 17, 2018 at 01:24:27PM +0100, Sebastien Marie wrote:

Hello Sebastien,

> The following diff update lang/rust to 1.24.

Thanks for this! I had a couple of problems. First the distinfo seems to be
out of date? I got this error from fetch:

  >> Size does not match for rust/rustc-bootstrap-amd64-1.24.0-20180213.tar.gz

After I regenerated distinfo myself the build then died pretty quickly:

  ===>  Building for rust-1.24.0
  cd /home/ports/pobj/rust-1.24.0/build-amd64 && exec /usr/bin/env -i LIBGIT2_SYS_USE_PKG_CONFIG=1  RUST_BACKTRACE=1 CC=cc PYTHONUSERBASE=/home/ports/pobj/rust-1.24.0 CONFIG_SITE='/home/ports/pobj/rust-1.24.0/config.site' LIBTOOL="/usr/local/bin/libtool"  PATH='/home/ports/pobj/rust-1.24.0/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin' PREFIX='/usr/local'  LOCALBASE='/usr/local' X11BASE='/usr/X11R6'  CFLAGS='-O2 -pipe'  TRUEPREFIX='/usr/local' DESTDIR=''  HOME='/rust-1.24.0_writes_to_HOME' COMPILER_VERSION=clang  PICFLAG="-fpic"  BINGRP=bin BINOWN=root BINMODE=755 NONBINMODE=644  DIRMODE=755  INSTALL_COPY=-c INSTALL_STRIP=-s  MANGRP=bin MANOWN=root MANMODE=644 BSD_INSTALL_PROGRAM="/home/ports/pobj/rust-1.24.0/bin/install -c -s  -m 755"  BSD_INSTALL_SCRIPT="/home/ports/pobj/rust-1.24.0/bin/install -c  -m 755"  BSD_INSTALL_DATA="/home/ports/pobj/rust-1.24.0/bin/install -c  -m 644"  BSD_INSTALL_MAN="/home/ports/pobj/rust-1.24.0/bin/install -c  -m 644"  BSD_INSTALL_PROGRAM_DIR="/home/ports/pobj/rust-1.24.0/bin/install -d  -m 755"  BSD_INSTALL_SCRIPT_DIR="/home/ports/pobj/rust-1.24.0/bin/install -d  -m 755"  BSD_INSTALL_DATA_DIR="/home/ports/pobj/rust-1.24.0/bin/install -d  -m 755"  BSD_INSTALL_MAN_DIR="/home/ports/pobj/rust-1.24.0/bin/install -d  -m 755"  /usr/local/bin/python2.7 /home/ports/pobj/rust-1.24.0/rustc-1.24.0-src/x.py dist --jobs=1
  running: /home/ports/pobj/rust-1.24.0/rustc-bootstrap-amd64-1.24.0-20180213/bin/cargo build --manifest-path /home/ports/pobj/rust-1.24.0/rustc-1.24.0-src/src/bootstrap/Cargo.toml --verbose --verbose --frozen
  error: process didn't exit successfully: `/home/ports/pobj/rust-1.24.0/rustc-bootstrap-amd64-1.24.0-20180213/bin/rustc -vV` (signal: 9, SIGKILL: kill)
  --- stderr
  ld.so: rustc.bin: can't load library 'libstd-660d119e70d3682d.so'

Since this may be related to the distinfo problem, I haven't investigated
further yet.


Laurie
--
Personal                                             http://tratt.net/laurie/
Software Development Team                                http://soft-dev.org/
   https://github.com/ltratt              http://twitter.com/laurencetratt


Reply | Threaded
Open this post in threaded view
|

Re: update: lang/rust 1.24

Sebastien Marie-3
On Sun, Feb 18, 2018 at 10:11:44AM +0000, Laurence Tratt wrote:

> On Sat, Feb 17, 2018 at 01:24:27PM +0100, Sebastien Marie wrote:
>
> Hello Sebastien,
>
> > The following diff update lang/rust to 1.24.
>
> Thanks for this! I had a couple of problems. First the distinfo seems to be
> out of date? I got this error from fetch:
>
>   >> Size does not match for rust/rustc-bootstrap-amd64-1.24.0-20180213.tar.gz
>
> After I regenerated distinfo myself the build then died pretty quickly:
>

It seems that the uploaded file is truncated in some way.

$ tar zft rustc-bootstrap-amd64-1.24.0-20180213.tar.gz >/dev/null
gzip: stdin: Input/output error
tar: End of archive volume 1 reached

distinfo has the right checksum.

I am re-uploading the file (at 30K/s, so please wait a bit). I removed
the bad file, and the new one will be available once completely
uploaded.

Thanks for your report, and the sorry for the inconvenience.
--
Sebastien Marie

Reply | Threaded
Open this post in threaded view
|

Re: update: lang/rust 1.24

Landry Breuil-5
In reply to this post by Sebastien Marie-3
On Sat, Feb 17, 2018 at 01:24:27PM +0100, Sebastien Marie wrote:

> Hi,
>
> The following diff update lang/rust to 1.24.
>
> Tests that was done:
> - build on i386 - but it seems the memory usage still grow. I added a
>   new knob to try to reduce it. I was able to build but after several
>   tries. BROKEN-i386 might be necessary ?
>
> - build on amd64
> - pass rustc testsuite on amd64

Here make test fails early with:

tidy error: /usr/obj/ports/rust-1.24.0/rustc-1.24.0-src/src/rustllvm/ArchiveWrapper.cpp:245: tab character
tidy error: /usr/obj/ports/rust-1.24.0/rustc-1.24.0-src/src/rustllvm/ArchiveWrapper.cpp:245: trailing whitespace
some tidy checks failed


command did not execute successfully: "/usr/obj/ports/rust-1.24.0/build-amd64/build/x86_64-unknown-openbsd/stage0-tools-bin/tidy" "/usr/obj/ports/rust-1.24.0/rustc-1.24.0-src/src"
expected success, got: exit code: 1


Traceback (most recent call last):
  File "/usr/obj/ports/rust-1.24.0/rustc-1.24.0-src/x.py", line 20, in <module>
    bootstrap.main()
  File "/usr/obj/ports/rust-1.24.0/rustc-1.24.0-src/src/bootstrap/bootstrap.py", line 758, in main
    bootstrap()
  File "/usr/obj/ports/rust-1.24.0/rustc-1.24.0-src/src/bootstrap/bootstrap.py", line 749, in bootstrap
    run(args, env=env, verbose=build.verbose)
  File "/usr/obj/ports/rust-1.24.0/rustc-1.24.0-src/src/bootstrap/bootstrap.py", line 148, in run
    raise RuntimeError(err)
RuntimeError: failed to run: /usr/obj/ports/rust-1.24.0/build-amd64/build/bootstrap/debug/bootstrap test --jobs=1


Other than that, it builds/packages on amd64, and fails on miniz-sys on i386 at
the first try. Will give it another chance locally..

Landry

Reply | Threaded
Open this post in threaded view
|

Re: update: lang/rust 1.24

Laurence Tratt
In reply to this post by Sebastien Marie-3
On Sun, Feb 18, 2018 at 06:03:47PM +0100, Sebastien Marie wrote:

Hello Sebastien,

> It seems that the uploaded file is truncated in some way.
>
> $ tar zft rustc-bootstrap-amd64-1.24.0-20180213.tar.gz >/dev/null
> gzip: stdin: Input/output error
> tar: End of archive volume 1 reached
>
> distinfo has the right checksum.
>
> I am re-uploading the file (at 30K/s, so please wait a bit). I removed
> the bad file, and the new one will be available once completely
> uploaded.

Thanks! With your update, it builds and installs correctly; and runs all the
programs I've tried it upon. "make test" does fail with the same error that
Landry noticed, although I must admit that it doesn't look very OpenBSD
specific.


Laurie
--
Personal                                             http://tratt.net/laurie/
Software Development Team                                http://soft-dev.org/
   https://github.com/ltratt              http://twitter.com/laurencetratt

Reply | Threaded
Open this post in threaded view
|

Re: update: lang/rust 1.24

Landry Breuil-5
In reply to this post by Landry Breuil-5
On Mon, Feb 19, 2018 at 07:45:48AM +0100, Landry Breuil wrote:

> On Sat, Feb 17, 2018 at 01:24:27PM +0100, Sebastien Marie wrote:
> > Hi,
> >
> > The following diff update lang/rust to 1.24.
> >
> > Tests that was done:
> > - build on i386 - but it seems the memory usage still grow. I added a
> >   new knob to try to reduce it. I was able to build but after several
> >   tries. BROKEN-i386 might be necessary ?
> >
> > - build on amd64
> > - pass rustc testsuite on amd64
>
> Here make test fails early with:
>
> tidy error: /usr/obj/ports/rust-1.24.0/rustc-1.24.0-src/src/rustllvm/ArchiveWrapper.cpp:245: tab character
> tidy error: /usr/obj/ports/rust-1.24.0/rustc-1.24.0-src/src/rustllvm/ArchiveWrapper.cpp:245: trailing whitespace
> some tidy checks failed
>
>
> command did not execute successfully: "/usr/obj/ports/rust-1.24.0/build-amd64/build/x86_64-unknown-openbsd/stage0-tools-bin/tidy" "/usr/obj/ports/rust-1.24.0/rustc-1.24.0-src/src"
> expected success, got: exit code: 1
>
>
> Traceback (most recent call last):
>   File "/usr/obj/ports/rust-1.24.0/rustc-1.24.0-src/x.py", line 20, in <module>
>     bootstrap.main()
>   File "/usr/obj/ports/rust-1.24.0/rustc-1.24.0-src/src/bootstrap/bootstrap.py", line 758, in main
>     bootstrap()
>   File "/usr/obj/ports/rust-1.24.0/rustc-1.24.0-src/src/bootstrap/bootstrap.py", line 749, in bootstrap
>     run(args, env=env, verbose=build.verbose)
>   File "/usr/obj/ports/rust-1.24.0/rustc-1.24.0-src/src/bootstrap/bootstrap.py", line 148, in run
>     raise RuntimeError(err)
> RuntimeError: failed to run: /usr/obj/ports/rust-1.24.0/build-amd64/build/bootstrap/debug/bootstrap test --jobs=1
>
>
> Other than that, it builds/packages on amd64, and fails on miniz-sys on i386 at
> the first try. Will give it another chance locally..

Tried on i386 4 or 5 times, always failed sadly.

rustc command:
"/build/obj/ports/rust-1.24.0/rustc-bootstrap-i386-1.24.0-20180213/bin/rustc"
"--crate-name" "rustc" "librustc/lib.rs" "--crate-type" "dylib"
"--emit=dep-info,link" "-C" "prefer-dynamic" "-C" "opt-level=2"  ....
"--cfg" "stage1" "--sysroot"
"/build/obj/ports/rust-1.24.0/build-i386/build/i686-unknown-openbsd/stage0-sysroot"
"-Cprefer-dynamic" "-C" "debug-assertions=n" "-C" "codegen-units=16"
"-C" "opt-level=1" "-Z" "fewer-names" "-Z" "force-unstable-if-unmarked"
"--color=always"
terminating with uncaught exception of type std::bad_alloc: std::bad_alloc
...
(signal: 6, SIGABRT: process abort signal)
thread 'main' panicked at 'command did not execute successfully:
"/build/obj/ports/rust-1.24.0/rustc-bootstrap-i386-1.24.0-20180213/bin/car
go" "build" "--target" "i686-unknown-openbsd" "-j" "1" "-v" "--release"
"--frozen" "--features" " jemalloc llvm" "--manifest-path" "/build/
obj/ports/rust-1.24.0/rustc-1.24.0-src/src/rustc/Cargo.toml"
"--message-format" "json"
expected success, got: exit code: 101', bootstrap/compile.rs:886:9      

My ulimit is 3g/max.

Landry