// we don't mangle the main fn since we haven't implemented the main shim
bool is_main_fn = fn_name.compare ("main") == 0;
- if (is_main_fn)
- /* So that 'MAIN_NAME_P' works. */
- ir_symbol_name = fn_name;
std::string asm_name = fn_name;
unsigned int flags = 0;
#include "rust-privacy-ctx.h"
#include "rust-ast-resolve-item.h"
#include "rust-optional.h"
-#include "stringpool.h"
#include <mpfr.h>
// note: header files must be in this order or else forward declarations don't
whether char is signed. */
build_common_tree_nodes (false);
- main_identifier_node = get_identifier ("main");
-
// Builds built-ins for middle-end after all front-end built-ins are already
// instantiated
build_common_builtin_nodes ();