Exemplo n.º 1
0
void compile_standalone_runtime(std::string object_filename, Target t) {
    Module empty("standalone_runtime", t.without_feature(Target::NoRuntime));
    compile_module_to_object(empty, object_filename);
}
Exemplo n.º 2
0
void compile_standalone_runtime(std::string object_filename, Target t) {
    t.set_feature(Target::NoRuntime, false);
    t.set_feature(Target::JIT, false);
    Module empty("standalone_runtime", t);
    compile_module_to_object(empty, object_filename);
}