File tree Expand file tree Collapse file tree 11 files changed +14
-99
lines changed
rustc_codegen_cranelift/example
rustc_codegen_gcc/example Expand file tree Collapse file tree 11 files changed +14
-99
lines changed Original file line number Diff line number Diff line change 1- // Copyright 2015 The Rust Project Developers. See the COPYRIGHT
2- // file at the top-level directory of this distribution and at
3- // http://rust-lang.org/COPYRIGHT.
4- //
5- // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6- // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7- // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8- // option. This file may not be copied, modified, or distributed
9- // except according to those terms.
1+ // SPDX-License-Identifier: MIT OR Apache-2.0
2+ // SPDX-FileCopyrightText: The Rust Project Developers (see https://thanks.rust-lang.org)
3+
104#![ no_std]
115
126pub struct System ;
Original file line number Diff line number Diff line change 1- // Copyright 2015 The Rust Project Developers. See the COPYRIGHT
2- // file at the top-level directory of this distribution and at
3- // http://rust-lang.org/COPYRIGHT.
4- //
5- // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6- // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7- // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8- // option. This file may not be copied, modified, or distributed
9- // except according to those terms.
1+ // SPDX-License-Identifier: MIT OR Apache-2.0
2+ // SPDX-FileCopyrightText: The Rust Project Developers (see https://thanks.rust-lang.org)
3+
104#![ no_std]
115#![ feature( allocator_api, rustc_private) ]
126#![ cfg_attr( any( unix, target_os = "redox" ) , feature( libc) ) ]
Original file line number Diff line number Diff line change 1- // Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
2- // file at the top-level directory of this distribution and at
3- // http://rust-lang.org/COPYRIGHT.
4- //
5- // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6- // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7- // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8- // option. This file may not be copied, modified, or distributed
9- // except according to those terms.
1+ // SPDX-License-Identifier: MIT OR Apache-2.0
2+ // SPDX-FileCopyrightText: The Rust Project Developers (see https://thanks.rust-lang.org)
103
114#![ feature( core_intrinsics) ]
125use std:: intrinsics:: * ;
Original file line number Diff line number Diff line change 1- // Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
2- // file at the top-level directory of this distribution and at
3- // http://rust-lang.org/COPYRIGHT.
4- //
5- // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6- // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7- // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8- // option. This file may not be copied, modified, or distributed
9- // except according to those terms.
1+ // SPDX-License-Identifier: MIT OR Apache-2.0
2+ // SPDX-FileCopyrightText: The Rust Project Developers (see https://thanks.rust-lang.org)
103
114macro_rules! assert_approx_eq {
125 ( $a: expr, $b: expr) => { {
Original file line number Diff line number Diff line change 1- // Copyright 2012-2016 The Rust Project Developers. See the COPYRIGHT
2- // file at the top-level directory of this distribution and at
3- // http://rust-lang.org/COPYRIGHT.
4- //
5- // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6- // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7- // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8- // option. This file may not be copied, modified, or distributed
9- // except according to those terms.
1+ // SPDX-License-Identifier: MIT OR Apache-2.0
2+ // SPDX-FileCopyrightText: The Rust Project Developers (see https://thanks.rust-lang.org)
103
114// Regression test for Issue #30530: alloca's created for storing
125// intermediate scratch values during brace-less match arms need to be
Original file line number Diff line number Diff line change 1- // Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
2- // file at the top-level directory of this distribution and at
3- // http://rust-lang.org/COPYRIGHT.
4- //
5- // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6- // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7- // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8- // option. This file may not be copied, modified, or distributed
9- // except according to those terms.
1+ // SPDX-License-Identifier: MIT OR Apache-2.0
2+ // SPDX-FileCopyrightText: The Rust Project Developers (see https://thanks.rust-lang.org)
103
114use std:: mem;
125
Original file line number Diff line number Diff line change 11#! /bin/bash
2- # Copyright 2014 The Rust Project Developers. See the COPYRIGHT
3- # file at the top-level directory of this distribution and at
4- # http://rust-lang.org/COPYRIGHT.
5- #
6- # Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
7- # http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
8- # <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
9- # option. This file may not be copied, modified, or distributed
10- # except according to those terms.
112
123set -ue
134
Original file line number Diff line number Diff line change 11#! /bin/bash
2- # Copyright 2014 The Rust Project Developers. See the COPYRIGHT
3- # file at the top-level directory of this distribution and at
4- # http://rust-lang.org/COPYRIGHT.
5- #
6- # Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
7- # http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
8- # <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
9- # option. This file may not be copied, modified, or distributed
10- # except according to those terms.
112
123set -ue
134
Original file line number Diff line number Diff line change 11#! /bin/bash
2- # Copyright 2014 The Rust Project Developers. See the COPYRIGHT
3- # file at the top-level directory of this distribution and at
4- # http://rust-lang.org/COPYRIGHT.
5- #
6- # Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
7- # http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
8- # <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
9- # option. This file may not be copied, modified, or distributed
10- # except according to those terms.
112
123set -ue
134
Original file line number Diff line number Diff line change 11#! /bin/bash
2- # Copyright 2014 The Rust Project Developers. See the COPYRIGHT
3- # file at the top-level directory of this distribution and at
4- # http://rust-lang.org/COPYRIGHT.
5- #
6- # Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
7- # http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
8- # <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
9- # option. This file may not be copied, modified, or distributed
10- # except according to those terms.
112
123# No undefined variables
134set -u
You can’t perform that action at this time.
0 commit comments