Browse Source
* add cloning for String attributes * use into_owned instead of to_vec to avoid a clone if possible. * runs, but does not substitute * show vars from c program, start cleanup * tiday * resolve conflicts * remove WASI folder * Add module_builder add dwarf_package to state for cache * move dwarf loading to module_environ.rs pass the dwarf as binary as low as module_environ.rs * pass dwarf package rather than add to debug_info * tidy option/result nested if * revert some toml and whitespace. * add features cranelift,winch to module_builder and compute_artifacts remove some `use`s * address some feedback remove unused 'use's * address some feedback remove unused 'use's * move wat feature condition to cover whole method. * More feedback Another try at wat feature move * Another try at wat feature move * change gimli exemption version add typed-arena exemption * add None for c-api * move `use` to #cfg * fix another config build * revert unwanted code deletion * move inner function closer to use * revert extra param to Module::new * workaround object crate bug. * add missing parameter * add missing parameter * Merge remote-tracking branch 'origin/main' into dwarf-att-string # Conflicts: # crates/wasmtime/src/engine.rs # crates/wasmtime/src/runtime/module.rs # src/common.rs * remove moduke * use common gimli version of 28.1 * remove wasm feature, revert gimli version * remove use of object for wasm dwarf * remove NativeFile workaround, add feature for dwp loading * sync winch signature * revert bench api change * add dwarf for no cache feature * put back merge loss of module kind * remove param from docs * add dwarf fission lldb test * simplify and include test source * clang-format * address feedback, remove packages add docs simplify return type * remove Default use on ModuleTypesBuilder * Remove an `unwrap()` and use `if let` instead * Use `&[u8]` instead of `&Vec<u8>` * Remove an `unwrap()` and return `None` instead * Clean up some code in `transform_dwarf` * Clean up some code in `replace_unit_from_split_dwarf` * Clean up some code in `split_unit` * Minor refactorings and documentation in `CodeBuilder` * Restrict visibility of `dwarf_package_binary` * Revert supply-chain folder changes * Fix compile error on nightly * prtest:full * prtest:full * prtest:full * prtest:full * prtest:full * prtest:full * prtest:full * prtest:full * use lldb 15 * prtest:full * prtest:full * load dwp when loading wasm bytes with path * correct source file name * remove debug --------- Co-authored-by: Alex Crichton <alex@alexcrichton.com>pull/8462/head
yowl
7 months ago
committed by
GitHub
20 changed files with 448 additions and 130 deletions
@ -0,0 +1,7 @@ |
|||
#include <stdio.h> |
|||
|
|||
int main() { |
|||
int i = 1; |
|||
i++; |
|||
return i - 2; |
|||
} |
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue