Skip to content

Commit

Permalink
refactor(rusile): Contain all sources in module dir so `cargo publish…
Browse files Browse the repository at this point in the history
…` works again
  • Loading branch information
alerque committed Dec 13, 2024
1 parent ed3df20 commit d737b26
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build-aux/que_rust_module.am
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pkglib_LIBRARIES = @MODULE@.@SHARED_LIB_EXT@
@MODULE@_@SHARED_LIB_EXT@_SOURCES = @MODULE@/Cargo.toml @MODULE@/src/lib.rs build-aux/module.rs
@MODULE@_@SHARED_LIB_EXT@_SOURCES = @MODULE@/Cargo.toml @MODULE@/src/lib.rs @MODULE@/build.rs

@builddir@/target/@RUST_TARGET_SUBDIR@/lib@MODULE@.@SHARED_LIB_EXT@: $(@MODULE@_@SHARED_LIB_EXT@_SOURCES)
$(CARGO_ENV) $(CARGO) build $(CARGO_VERBOSE) --target $(CARGO_TARGET_TRIPLE) $(@MODULE@_FEATURE_ARGS) $(CARGO_RELEASE_ARGS) -p @MODULE@
Expand Down
2 changes: 1 addition & 1 deletion rusile/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors.workspace = true
homepage.workspace = true
repository.workspace = true
license.workspace = true
build = "../build-aux/module.rs"
build = "build.rs"

[lib]
crate-type = ["rlib", "cdylib", "staticlib"]
Expand Down
File renamed without changes.

0 comments on commit d737b26

Please sign in to comment.