From f4b03a64a183ee9f5102415a21ccfd098c87ab6d Mon Sep 17 00:00:00 2001 From: pommicket Date: Tue, 8 Nov 2022 13:21:25 -0500 Subject: warning for multiple definitions of symbol --- src/main.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 926b1e4..201b649 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,8 +1,5 @@ /* @TODO: -- what happens when a symbol has two definitions? can this happen with multiple c++ files which use the same template? -- disable "warning: relocation XXX not in a data/text section" for .rel.eh_frame + maybe others - - these warnings are being generated in two places. do they need to be? - make executables more tiny (overlap sections, etc.) - generate a warning/error on position-independent object files - static libraries @@ -28,7 +25,7 @@ struct Args { no_std_lib: bool, /// If set, the program will be linked against libstdc++. /// - /// This is needed when using the standard template library. + /// This is needed when using any C++ library functions. #[arg(long = "stdc++", default_value_t = false)] std_cpp: bool, /// Output executable path. -- cgit v1.2.3