Coder Social home page Coder Social logo

Comments (6)

daivinhtran avatar daivinhtran commented on June 11, 2024

I think cc_library is now migrated to Starlark?

from bazel-lsp.

cameron-martin avatar cameron-martin commented on June 11, 2024

Is it, but they're still available at globals. Do you think the starlark builtins are exported differently to the java ones?

from bazel-lsp.

daivinhtran avatar daivinhtran commented on June 11, 2024

The cc rules come from https://github.com/bazelbuild/rules_cc (Starlark implementation of cc rules). I believe if we can resolve http_archive and/or local_repository declaring @rules_cc, it should work.

from bazel-lsp.

cameron-martin avatar cameron-martin commented on June 11, 2024

That repo still just calls builtins. I think they might be written in starlark now but in the bazel repo.

See https://github.com/bazelbuild/rules_cc/blob/51b77439a109b8c8f75ad70a130293291ed8b851/cc/defs.bzl#L49

from bazel-lsp.

cameron-martin avatar cameron-martin commented on June 11, 2024

Builtins such as toolchain, toolchain_type and package also aren't included in this protobuf.

from bazel-lsp.

cameron-martin avatar cameron-martin commented on June 11, 2024

Looks like we can use bazel info build-language here. See bazelbuild/vscode-bazel#1 (comment)

from bazel-lsp.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.