Comments (10)
Hmm...why would our CI jobs pass if this happens?
from ring.
They are warnings. Does your CI treats warnings as errors (mk/cargo.sh test run from command line does not)?
from ring.
Warnings confirmed in example https://github.com/briansmith/ring/actions/runs/7492345579/job/20400988301
from ring.
I do see the warnings but they do not cause the build to break.
from ring.
Sorry, should have made it clear - it's -D warnings
in our application build that's causing builds to fail. We don't really expect warnings from 3rd party crates (or our own code), and ring
did not formerly issue any.
from ring.
Is there a way to get the #[allow(deprecated])
to work? If not, I will accept a PR that replaces the #[deprecated]
with a comment and that removes the useless #[allow(deprecated])
.
from ring.
I think the code as it is is trying to apply #[allow(deprecated)]
to the function after macro expansion, rather than to the macro invocation itself. I don't know of a way of applying an attribute to a macro invocation - I doubt this is possible. The only way I could get it to work is by having #![allow(deprecated)]
at the file level in montgomery.rs
(and removing the useless #[allow(deprecated]
on the macro invocation). Would that work for you?
from ring.
I think we're better off just replacing the #[deprecated(...)]
on the definition with a comment, and then removing the #[allow(deprecated)]
. I still want to get other deprecation warnings, if any, in montgomery.rs.
from ring.
Yes, that would be better than using the deprecation as a TODO marker, then masking it.
from ring.
I'm going to close this. It is annoying that we have these warnings but we don't need to have an issue to track the annoyance.
from ring.
Related Issues (20)
- Build fails on i386: evaluation of constant value failed HOT 1
- failure to verify rsa signature on x509 csr HOT 2
- Fails to build on Linux SPARC HOT 10
- warning: [email protected]: aarch64-fslc-linux-gcc: error: unrecognized command-line option ‘-m64’ HOT 3
- Add riscv64 Support HOT 3
- Disclosure Policy HOT 3
- Attempted to use functionality that requires system randomness!! HOT 1
- warning: [email protected]: Compiler family detection failed due to error: ToolNotFound: Failed to find tool. Is `C:\Program` installed? HOT 2
- Ring compile error when trying to cross compile from windows 10 to x86_64-unknown-linux-gnu HOT 2
- Ring no longer builds with Rust 1.61 due to cc dependency HOT 1
- support for RISCV32 HOT 4
- `less-safe-getrandom-custom-or-rdrand` not working on target `x86_64-fortanix-unknown-sgx` HOT 1
- Add store/restore functionality to digest::Context HOT 2
- Build fails on target wasm32-wasi HOT 2
- Supporting aarch64-pc-windows-msvc target HOT 1
- Unknown target cpu : xtensa-esp32s3-espidf HOT 13
- Build error; unexpected exit of custom task HOT 2
- `aarch64-pc-windows-msvc` requires `clang` HOT 3
- Replace `std::error` with `core::error` HOT 2
- ring does not cross-compile to aarch64-unknown-linux-ohos HOT 2
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 ring.