Opened 5 months ago

Closed 2 months ago

#22771 closed task (worksforme)

Determine Rust support levels for our targeted platforms

Reported by: isis Owned by:
Priority: Medium Milestone: Tor: 0.3.2.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords: rust, SponsorZ
Cc: acrichton@… Actual Points:
Parent ID: Points: .5
Reviewer: Sponsor: SponsorZ

Description

We should go through https://trac.torproject.org/projects/tor/wiki/org/teams/NetworkTeam/SupportedPlatforms and determine how well these platforms are supported by Rust, and then document this information on https://trac.torproject.org/projects/tor/wiki/RustInTor.

Child Tickets

Change History (10)

comment:1 Changed 5 months ago by isis

Status: newneeds_information

It appears to me that all our "Target" and "Maintained" platforms are in either Tier 1 or 2 on the Rust Platform Support page. (https://forge.rust-lang.org/platform-support.html)

Is there something I'm missing?

comment:2 Changed 5 months ago by nickm

64-bit android was mentioned on IRC; what's the status there? Also, I think the current tier 2 guarantees are a bit scary, though they are comparable to our own "maintained" verbiage.

In particular, is the expectation that Tier 2 will generally work well, and that the unit tests, when run, will pass? Or is Tier 2 full of some platforms that work and some that don't?

comment:3 in reply to:  1 ; Changed 5 months ago by cypherpunks

Replying to isis:

Is there something I'm missing?

Those think i686 supports SSE, so don't trust them.

Last edited 5 months ago by cypherpunks (previous) (diff)

comment:4 in reply to:  2 Changed 5 months ago by isis

Replying to nickm:

64-bit android was mentioned on IRC; what's the status there? Also, I think the current tier 2 guarantees are a bit scary, though they are comparable to our own "maintained" verbiage.


So the Firefox Treeherder (their CI server) is running tests for aarch64 for Android 5.0 (grep for "Android 5.0 AArch64 opt", e.g. this job). I'm told by the people on the Servo team that all of the tests are running with Rust enabled. Since Firefox is targeting aarch64, there are discussions and general consensus that Rust needs to lift it to Tier 1 support.

In particular, is the expectation that Tier 2 will generally work well, and that the unit tests, when run, will pass? Or is Tier 2 full of some platforms that work and some that don't?


Tier 2 is supposed to build, but the tests are not automatically run. Anecdotally, I (and other people on our team, like ahf, and Firefox/Servo devs, and developers from a company which is using some of my Rust crypto on an HSM) have successfully run the unit tests on Tier 2 platforms without a hitch.

comment:5 in reply to:  3 Changed 5 months ago by isis

Replying to cypherpunks:

Replying to isis:

Is there something I'm missing?

Those lamers


That's not a very excellent thing to say.

think i686 supports SSE, so don't trust them.


It does. In fact, SSE was introduced with the Pentium III, which was the 6th chip in the P6 (a.k.a. i686) microarchitecture series.

In any case, the details of microarchitecture history are pretty moot here, because — in the current draft at least — we consider x86 platforms without SSE2 support to be "unsupported". That is, if you expect Tor (with or without Rust) to run on your Pentium II, it's your job to get a clean patch to us.

comment:6 Changed 5 months ago by catalyst

Milestone: Tor: 0.3.2.x-final

comment:7 Changed 5 months ago by cypherpunks

[Off-topic comment removed by another cypherpunk]

Last edited 2 months ago by cypherpunks (previous) (diff)

comment:8 Changed 5 months ago by nickm

The only disgrace is to treat another person badly.

comment:9 Changed 4 months ago by alexcrichton

Cc: acrichton@… added

comment:10 Changed 2 months ago by nickm

Resolution: worksforme
Status: needs_informationclosed

It seems we took this as far as it can go. In summary: rust seems to work anecdotally approximately everywhere that we work anecdotally, and to work testedly where we work testedly.

Note: See TracTickets for help on using tickets.