Skip to content

Commit

Permalink
Drop start feature/attribute as its going away (#769)
Browse files Browse the repository at this point in the history
  • Loading branch information
ipetkov authored Dec 21, 2024
1 parent fdd502f commit 769bddf
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 30 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#![feature(no_core, lang_items, start)]
#![feature(no_core, lang_items)]
#[no_std]
#[no_core]
// #[no_gods]
// #[no_masters]

#[start]
fn main(_: isize, _: *const *const u8) -> isize {
#[no_mangle]
extern "C" fn main(_: isize, _: *const *const u8) -> isize {
0
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#![feature(no_core, lang_items, start)]
#![feature(no_core, lang_items)]
#[no_std]
#[no_core]
// #[no_gods]
// #[no_masters]

#[start]
fn main(_: isize, _: *const *const u8) -> isize {
#[no_mangle]
extern "C" fn main(_: isize, _: *const *const u8) -> isize {
0
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#![feature(no_core, lang_items, start)]
#![feature(no_core, lang_items)]
#[no_std]
#[no_core]
// #[no_gods]
// #[no_masters]

#[start]
fn main(_: isize, _: *const *const u8) -> isize {
#[no_mangle]
extern "C" fn main(_: isize, _: *const *const u8) -> isize {
0
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#![feature(no_core, lang_items, start)]
#![feature(no_core, lang_items)]
#[no_std]
#[no_core]
// #[no_gods]
// #[no_masters]

#[start]
fn main(_: isize, _: *const *const u8) -> isize {
#[no_mangle]
extern "C" fn main(_: isize, _: *const *const u8) -> isize {
0
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#![feature(no_core, lang_items, start)]
#![feature(no_core, lang_items)]
#[no_std]
#[no_core]
// #[no_gods]
// #[no_masters]

#[start]
fn main(_: isize, _: *const *const u8) -> isize {
#[no_mangle]
extern "C" fn main(_: isize, _: *const *const u8) -> isize {
0
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#![feature(no_core, lang_items, start)]
#![feature(no_core, lang_items)]
#[no_std]
#[no_core]
// #[no_gods]
// #[no_masters]

#[start]
fn main(_: isize, _: *const *const u8) -> isize {
#[no_mangle]
extern "C" fn main(_: isize, _: *const *const u8) -> isize {
0
}
6 changes: 3 additions & 3 deletions checks/mkDummySrcTests/custom-dummyrs/expected/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#![feature(no_core, lang_items, start)]
#![feature(no_core, lang_items)]
#[no_std]
#[no_core]
// #[no_gods]
// #[no_masters]

#[start]
fn main(_: isize, _: *const *const u8) -> isize {
#[no_mangle]
extern "C" fn main(_: isize, _: *const *const u8) -> isize {
0
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#![feature(no_core, lang_items, start)]
#![feature(no_core, lang_items)]
#[no_std]
#[no_core]
// #[no_gods]
// #[no_masters]

#[start]
fn main(_: isize, _: *const *const u8) -> isize {
#[no_mangle]
extern "C" fn main(_: isize, _: *const *const u8) -> isize {
0
}
6 changes: 3 additions & 3 deletions checks/mkDummySrcTests/custom-dummyrs/expected/tests/test1.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#![feature(no_core, lang_items, start)]
#![feature(no_core, lang_items)]
#[no_std]
#[no_core]
// #[no_gods]
// #[no_masters]

#[start]
fn main(_: isize, _: *const *const u8) -> isize {
#[no_mangle]
extern "C" fn main(_: isize, _: *const *const u8) -> isize {
0
}
6 changes: 3 additions & 3 deletions checks/mkDummySrcTests/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,14 @@ let
doCompare "customized-dummyrs" expected (mkDummySrc {
src = input;
dummyrs = writeText "dummy.rs" ''
#![feature(no_core, lang_items, start)]
#![feature(no_core, lang_items)]
#[no_std]
#[no_core]
// #[no_gods]
// #[no_masters]
#[start]
fn main(_: isize, _: *const *const u8) -> isize {
#[no_mangle]
extern "C" fn main(_: isize, _: *const *const u8) -> isize {
0
}
'';
Expand Down

0 comments on commit 769bddf

Please sign in to comment.