File tree 11 files changed +14
-99
lines changed
rustc_codegen_cranelift/example
rustc_codegen_gcc/example
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
+
10
4
#![ no_std]
11
5
12
6
pub 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
+
10
4
#![ no_std]
11
5
#![ feature( allocator_api, rustc_private) ]
12
6
#![ 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)
10
3
11
4
#![ feature( core_intrinsics) ]
12
5
use 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)
10
3
11
4
macro_rules! assert_approx_eq {
12
5
( $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)
10
3
11
4
// Regression test for Issue #30530: alloca's created for storing
12
5
// 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)
10
3
11
4
use std:: mem;
12
5
Original file line number Diff line number Diff line change 1
1
#! /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.
11
2
12
3
set -ue
13
4
Original file line number Diff line number Diff line change 1
1
#! /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.
11
2
12
3
set -ue
13
4
Original file line number Diff line number Diff line change 1
1
#! /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.
11
2
12
3
set -ue
13
4
Original file line number Diff line number Diff line change 1
1
#! /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.
11
2
12
3
# No undefined variables
13
4
set -u
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
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.
11
2
12
3
set -ue
13
4
You can’t perform that action at this time.
0 commit comments