mailman-lists-archive/pipermail/zapps-wg/2017/000080.html

95 lines
4.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE> [zapps-wg] Version of Rust
</TITLE>
<LINK REL="Index" HREF="/pipermail/zapps-wg/2017/index.html" >
<LINK REL="made" HREF="mailto:zapps-wg%40lists.zfnd.org?Subject=Re%3A%20%5Bzapps-wg%5D%20Version%20of%20Rust&In-Reply-To=%3CCAB0O3SVXoZQad81C9fq3NFDjXmJJCSuLsjKhWJcwcXCeA6Hj%2BQ%40mail.gmail.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<style type="text/css">
pre {
white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */
}
</style>
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="000077.html">
<LINK REL="Next" HREF="000043.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[zapps-wg] Version of Rust</H1>
<B>Devrandom</B>
<A HREF="mailto:zapps-wg%40lists.zfnd.org?Subject=Re%3A%20%5Bzapps-wg%5D%20Version%20of%20Rust&In-Reply-To=%3CCAB0O3SVXoZQad81C9fq3NFDjXmJJCSuLsjKhWJcwcXCeA6Hj%2BQ%40mail.gmail.com%3E"
TITLE="[zapps-wg] Version of Rust">c1.devrandom at niftybox.net
</A><BR>
<I>Tue Nov 21 00:35:16 EST 2017</I>
<P><UL>
<LI>Previous message (by thread): <A HREF="000077.html">[zapps-wg] Version of Rust
</A></li>
<LI>Next message (by thread): <A HREF="000043.html">[zapps-wg] Powers of Tau Participation Requestion
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#80">[ date ]</a>
<a href="thread.html#80">[ thread ]</a>
<a href="subject.html#80">[ subject ]</a>
<a href="author.html#80">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On Mon, Nov 20, 2017 at 9:27 PM Peter Todd &lt;<A HREF="/mailman/listinfo/zapps-wg">pete at petertodd.org</A>&gt; wrote:
&gt;<i> On Sat, Nov 18, 2017 at 01:46:10AM +0000, Devrandom wrote:
</I>&gt;<i> &gt; I made some progress with walking back the Rust version, getting to
</I>&gt;<i> &gt; 2016-04-01 nightly (pre-1.8.0). A rough cut of what I did is here:
</I>&gt;<i> &gt;
</I>&gt;<i> &gt;
</I>&gt;<i> <A HREF="https://github.com/devrandom/powersoftau/compare/experiment-devrandom-vendor...devrandom:experiment-devrandom-old-compile">https://github.com/devrandom/powersoftau/compare/experiment-devrandom-vendor...devrandom:experiment-devrandom-old-compile</A>
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; This doesn't quite get us to when zcash was announced in January of 2016.
</I>&gt;<i> &gt; To make further progress, I will look into backporting the question-mark
</I>&gt;<i> &gt; operator from
</I>&gt;<i> &gt;
</I>&gt;<i> <A HREF="https://github.com/rust-lang/rust/commit/210dd611aa1bd80ed2f4e663b3c4b87b3cea069a">https://github.com/rust-lang/rust/commit/210dd611aa1bd80ed2f4e663b3c4b87b3cea069a</A>
</I>&gt;<i> &gt; to
</I>&gt;<i> &gt; an earlier nightly.
</I>&gt;<i>
</I>&gt;<i> Not sure how familiar you are with Rust, but FWIW it might be easier to
</I>&gt;<i> just
</I>&gt;<i> mechanically replace the question mark operator with the try! macro. For
</I>&gt;<i> example, this line:
</I>&gt;<i>
</I>&gt;<i> let alpha_g1_s = read_uncompressed(reader)?;
</I>&gt;<i>
</I>&gt;<i> simply becomes:
</I>&gt;<i>
</I>&gt;<i> let alpha_g1_s = try!(read_uncompressed(reader));
</I>&gt;<i>
</I>&gt;<i> This has the advantage of having compatibility with potentially quite old
</I>&gt;<i> versions of Rust.
</I>&gt;<i>
</I>
Will try that if the mrustc path continues to be blocked for longer than a
few days.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message (by thread): <A HREF="000077.html">[zapps-wg] Version of Rust
</A></li>
<LI>Next message (by thread): <A HREF="000043.html">[zapps-wg] Powers of Tau Participation Requestion
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#80">[ date ]</a>
<a href="thread.html#80">[ thread ]</a>
<a href="subject.html#80">[ subject ]</a>
<a href="author.html#80">[ author ]</a>
</LI>
</UL>
<hr>
<a href="/mailman/listinfo/zapps-wg">More information about the zapps-wg
mailing list</a><br>
</body></html>