Skip to content

xldenis/tool-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Experimental tool-lib

This is an experimental implementation of the tool_lib discussed as part of Project Stable MIR. The objective is to identify what subset of the rustc API is used by verification tools and why.

The initial plan is to first identify and isolate the set of rust apis used by verification tools, and then classify those apis into "Necessary", "Questionable" and "Problematic" categories so that we can identify what should really be exposed via a tool_lib and what should either be wrapped or reformulated.

Additionally, this could form a good starting place for code sharing, by allowing tool authors to place common utility functions in a shared location.

As the work progresses, it could also be a good opportunity re-organize the various APIs into a coherent and unified set of modules, masking their underlying rustc crate sources.

A Rough Guideline for adding an API

  • Avoid exposing entire modules.
  • Avoid using glob patterns to expose types or functions.
  • Avoid exposing constructors of types, instead expose the type itself.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages