Comments (2)
Try using cargo run
or using the script in scripts/transpiler.py
. The way that rust builds libraries you have to manually specify the library load path to run the executables.
from c2rust.
Probably because we're using rustc internal version of libsyntax, running ast-importer without cargo run
requires a bit of extra work.
LD_LIBRARY_PATH=$(rustc --print sysroot)/lib ast-importer/target/debug/ast_importer
will get it running if you want to do it manually.
from c2rust.
Related Issues (20)
- c2rust-transpile: bug about aligned struct with bitfield
- analyze: offset permission may be back-propagated too far
- macOS build failure in clangAstExporter due to missing c++17 HOT 1
- c2rust-transpile: bug about side effect of expression HOT 1
- rewriter: only one level of macro expansion is supported in rewriting macro calls
- Use of `__cdecl` in higher-order contexts casuses panic
- analyze: fix bad rewrite `#[derive(&(Clone))]` HOT 1
- analyze: missing `&p[0]` rewrite when dropping `OFFSET` permission
- analyze: removing `mut` from `static` introduces Sync errors HOT 5
- analyze: rewrite cast target types
- (`c2rust-analyze`) Support rewrites with implicit `&raw`s HOT 3
- (`c2rust-analyze`) Support all ways of writing `addr_of!` during rewriting HOT 3
- (`c2rust-analyze`) Fix dataflow constraints in ptr casts
- missing transpile_files ? HOT 1
- rewriter: hypothetical lifetime parameters not added to types in function signatures HOT 4
- analyze: extend Cell rewrite support to include CELL struct fields
- (`c2rust transpile`) Translate `static const`s without raw ptrs as non-`mut` `static`s
- rewriter: type alias for struct does not support hypothetical lifetimes HOT 1
- rewriter: struct type parameter rewrites swallow constraints HOT 1
- analyze: setting `RUST_LOG=c2rust_analyze::context=trace` causes panic
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from c2rust.