summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-11-08 13:21:25 -0500
committerpommicket <pommicket@gmail.com>2022-11-08 13:21:25 -0500
commitf4b03a64a183ee9f5102415a21ccfd098c87ab6d (patch)
tree395903ad88efb6044af03895ff22f12a6e154d2e /src/main.rs
parentd2b519d5cd43236e8f23a5ca05b8e6e31346d241 (diff)
warning for multiple definitions of symbol
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs5
1 files changed, 1 insertions, 4 deletions
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.