|  | # Copyright 2018 The Fuchsia Authors. All rights reserved. | 
|  | # Use of this source code is governed by a BSD-style license that can be | 
|  | # found in the LICENSE file. | 
|  |  | 
|  | import("//build/rust/toolchain.gni") | 
|  | import("//build/toolchain/basic_toolchain.gni") | 
|  |  | 
|  | assert(current_toolchain == default_toolchain) | 
|  |  | 
|  | # A toolchain dedicated to processing Rust code. | 
|  | # The only targets in this toolchain are action() targets, so it | 
|  | # has no real tools.  But every toolchain needs stamp and copy. | 
|  | basic_toolchain("rustlang") { | 
|  | expected_label = rust_toolchain | 
|  | } |