Skip to content

Commit

Permalink
Rewrite without LIEF (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
littledivy authored Jul 21, 2024
1 parent e1af1b2 commit e106164
Show file tree
Hide file tree
Showing 975 changed files with 874 additions and 165,902 deletions.
2 changes: 0 additions & 2 deletions .cargo/config.toml

This file was deleted.

13 changes: 3 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,10 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
env:
SUI_FROM_SOURCE: true

steps:
- uses: actions/checkout@v3
# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3
# if: matrix.os == 'windows-latest'
- name: Lint
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Build
run: cargo b -vv
- name: Build cli
run: |
cd cli
cargo b -vv
run: cargo b --all-targets --all-features
34 changes: 0 additions & 34 deletions .github/workflows/release.yml

This file was deleted.

91 changes: 0 additions & 91 deletions 0001-Fix-compilation-on-Arch.patch

This file was deleted.

28 changes: 0 additions & 28 deletions CMakeLists.txt

This file was deleted.

131 changes: 123 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 11 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,17 @@ repository = "https://github.com/littledivy/sui"

[dependencies]
libc = "0.2"
editpe = { version = "0.1.0", default-features = false }
zerocopy = { version = "0.7.35", features = ["derive"] }

# object = { version = "0.36.1", features = ["build"] }

[lib]
path = "lib.rs"

[[bin]]
name = "sui"
path = "cli.rs"

[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.48.0", features = ["Win32_System", "Win32_System_LibraryLoader", "Win32_Foundation"] }

[build-dependencies]
cmake = "0.1"
Loading

0 comments on commit e106164

Please sign in to comment.