-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make paste optional, add github actions
- Loading branch information
1 parent
1cf321a
commit bd2e8e8
Showing
4 changed files
with
40 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Tests | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install Rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
profile: minimal | ||
override: true | ||
- name: Run cargo command | ||
run: cargo run --manifest-path test-crates/bin/Cargo.toml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,18 +6,18 @@ authors = ["Amos Wenger <[email protected]>"] | |
license = "MIT OR Apache-2.0" | ||
readme = "README.md" | ||
repository = "https://github.com/bearcove/rubicon" | ||
description = "A way to export/import thread-locals from/to shared objects" | ||
description = "Deduplicate globals across shared objects to enable a dangerous form of dynamic linking" | ||
categories = ["development-tools::ffi"] | ||
keywords = ["ffi", "thread-local"] | ||
|
||
[lib] | ||
crate-type = ["dylib"] | ||
|
||
[dependencies] | ||
paste = "1.0.15" | ||
paste = { version = "1.0.15", optional = true } | ||
|
||
[features] | ||
default = [] | ||
export-globals = [] | ||
import-globals = [] | ||
export-globals = ["dep:paste"] | ||
import-globals = ["dep:paste"] | ||
soprintln = [] |