Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic support for dynamically loading syntax extensions #6735

Closed
wants to merge 2 commits into from

Commits on May 25, 2013

  1. std: add very basic wrappers around dlopen/dlsym for experimental dyn…

    …amic library loading
    huonw committed May 25, 2013
    Configuration menu
    Copy the full SHA
    f387093 View commit details
    Browse the repository at this point in the history
  2. syntax: add very basic support for dynamically loading syntax extensi…

    …ons.
    
    This adds a `#[syntax_extension]` attribute that loads an external Rust
    library and allows it to register arbitrary syntax extensions. This requires
    the `-Z dynamic-syntax-extension` flag.
    
    The library name to load must be specified in full, and the attribute only
    works at the crate level so this will not work cross-platform.
    huonw committed May 25, 2013
    Configuration menu
    Copy the full SHA
    614123a View commit details
    Browse the repository at this point in the history