Comments (5)
I'll see if I can backport your PR to an 0.3 version of quanta
and potentially do a patch release to help ya out.
from quanta.
I have a feature/atomic-shim-0.3.1 branch in my fork, it seems to build already. I addeda #[ctor]
hack for static initializtion of AtomicU64
from quanta.
Nice. I created a branch, 0.3-lts
, based off of the 0.3.1 commit. If you want to submit that feature branch as a PR, based against the LTS branch, we can get that going as well, and hopefully released quickly.
from quanta.
Compilation error when cross compile to MIPS (mipsel-unknown-linux-musl).
Compiling quanta v0.9.2
error[E0599]: no method named `fetch_add` found for struct `Arc<AtomicCell<u64>>` in the current scope
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/quanta-0.9.2/src/mock.rs:48:21
|
48 | self.offset.fetch_add(amount.into_nanos());
| ^^^^^^^^^ method not found in `Arc<AtomicCell<u64>>`
error[E0599]: no method named `fetch_sub` found for struct `Arc<AtomicCell<u64>>` in the current scope
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/quanta-0.9.2/src/mock.rs:53:21
|
53 | self.offset.fetch_sub(amount.into_nanos());
| ^^^^^^^^^ method not found in `Arc<AtomicCell<u64>>`
error: aborting due to 2 previous errors
from quanta.
@messense crossbeam
disables 64-bit atomics on unsupported platforms (with crossbeam_no_atomic_64
feature)
See crossbeam-rs/crossbeam#731
Can be fixed by not using crossbeam
on MIPS & PowerPC, or implementing support for atomic_shim there as well
from quanta.
Related Issues (20)
- Failed to build version 0.9.1 HOT 1
- Does not build on MIPS and ARMv5 HOT 7
- Check for RDTSCP support doesn't work HOT 2
- Switch to CLOCK_BOOTTIME and friends to improve accuracy. HOT 2
- Intermittent panic due to overflowing our source calibration denominator. HOT 5
- Comparing to `minstant` HOT 9
- Can `Instant`s be `NonZeroU64`? HOT 4
- Adding support for TSC on ARM. HOT 4
- Fails to build on x86 without SSE2 HOT 2
- Allow Instant to be used atomically HOT 3
- Quanta Clock is off by a factor of 1000 in web browsers
- RUSTSEC-2020-0168: mach is unmaintained HOT 2
- Much slower than std version in case of high contention HOT 2
- Can Clock provide `delta_as_nanos`? HOT 7
- Does it make sense to pin `Upkeep` thread? HOT 4
- Populate recent time once before starting upkeep thread.
- On macOS arm64, `quanta::Instant::elapsed` method tends to return a shorter duration than `std::time::Instant::elapsed` does HOT 6
- Drift from system time HOT 1
- Crash on iOS HOT 7
- Commit for version 0.12.3 it not reachable from main branch HOT 1
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 quanta.