Changes between Version 9 and Version 10 of rust


Ignore:
Timestamp:
07/15/2023 12:10:19 PM (21 months ago)
Author:
Xi Ruoyao
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TabularUnified rust

    v9 v10  
    2222See https://www.linuxfromscratch.org/hints/downloads/files/rustc-offline-hint.txt
    2323
     24=== Upgrading from 1.x.y to 1.x.z or 1.(x+1).z ===
     25
     26If you've already installed Rustc-1.x.y and now you are building Rustc-1.x.z or Rustc-1.(x+1).z (where x, y, z are any integers),
     27you may add two lines into the `[build]` section of `config.toml`:
     28
     29{{{
     30rustc = '/opt/rustc-1.x.y/bin/rustc'
     31cargo = '/opt/rustc-1.x.y/bin/cargo'
     32}}}
     33
     34Then the building system will use Rustc-1.x.y as the bootstrap compiler, instead of downloading a pre-built binary.  So this method can also avoid a dependency on the Internet connection.
     35
     36Note that this generally won't work if you are building Rustc-1.t.z where t is neither x nor x+1.
     37
    2438[wiki:Programming Up][[br]]
    2539[wiki:BlfsNotes Top]