Skip to content

Commit

Permalink
fix maturin build
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Dec 20, 2023
1 parent a2c8922 commit 88630a5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,13 +168,13 @@ jobs:

- name: build sdist
if: ${{ matrix.os == 'ubuntu' && matrix.target == 'x86_64' && matrix.manylinux == 'auto' }}
uses: messense/maturin-action@v1
uses: PyO3/maturin-action@v1
with:
command: sdist
args: --out dist

- name: build wheels
uses: messense/maturin-action@v1
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
manylinux: ${{ matrix.manylinux || 'auto' }}
Expand Down
3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ nohash-hasher = "0.2.0"
name = "_rtoml"
crate-type = ["cdylib", "rlib"]

[package.metadata.maturin]
name = "rtoml._rtoml"

[profile.release]
lto = "fat"
codegen-units = 1
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ Source = "https://github.com/samuelcolvin/rtoml"

[tool.maturin]
bindings = "pyo3"
module-name = "rtoml._rtoml"

[tool.pytest.ini_options]
testpaths = ["tests"]
Expand Down

0 comments on commit 88630a5

Please sign in to comment.