Skip to content

Commit

Permalink
Merge pull request #940 from gluon-lang/cross
Browse files Browse the repository at this point in the history
chore: Remove cross from CI
  • Loading branch information
Marwes authored Oct 25, 2022
2 parents aed1485 + f30127b commit e46775a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jobs:
if: steps.cache.outputs.cache-hit != 'true'
run: |
./scripts/install_sccache.sh $TARGET
sh scripts/install_cross.sh
source ~/.cargo/env || true
./scripts/install_mdbook.sh $TARGET
- name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion src/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@ async fn global(
use std::cell::RefCell;
pub struct Env<T>(RefCell<T>);

pub(crate) fn env(env: &(dyn Compilation + '_)) -> Env<&'_ CompilerDatabase> {
pub(crate) fn env<'a>(env: &'a (dyn Compilation + 'a)) -> Env<&'a CompilerDatabase> {
Env(RefCell::new(env.compiler()))
}
pub(crate) fn snapshot_env<T>(env: T) -> Env<T>
Expand Down

0 comments on commit e46775a

Please sign in to comment.