是否可以使用夜间编译器编译一个特定的库并将其链接到在 stable 上编译的项目? [英] Is it possible to compile one specific library with the nightly compiler and link it to a project that is compiled on stable?

查看:33
本文介绍了是否可以使用夜间编译器编译一个特定的库并将其链接到在 stable 上编译的项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在处理一个依赖项需要特定夜间功能的项目.我需要使用这个库,但恐怕如果我用 nightly 编译项目,我可能会依赖包含另一个不稳定功能依赖项的其他库,而我不会意识到这一点.

I am working on a project where a dependency requires a specific nightly feature. I need to use this lib, but I am afraid that if I compile the project with nightly, I could depend on nother libraries that include another unstable feature dependency and I wouldn't be aware of that.

是否可以将我需要每晚使用的库(同时将每晚版本设置为已经合并到发布分支的版本)编译为某种lib.a"文件,并在稳定版本上编译整个项目链接到lib.a"时?

Is it possible to compile the library that I need using nightly (while set the nightly version to version that already merged to the release branch) to some kind of "lib.a" file, and compile the whole project on stable release while linking to "lib.a"?

推荐答案

不,你不能这样做.

另见:

这篇关于是否可以使用夜间编译器编译一个特定的库并将其链接到在 stable 上编译的项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆